Andrew Morton wrote: >It would be possible, yes. > >But thread creation is a "rare" event compared to pagefaults and syscalls. >An atomic_t will be OK there. > > Actually, the code is correct. The documentation it bogus. lock_kernel() never achieved any protection: the copy_xy() functions can sleep. What about the attached docu update? -- Manfred