public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: nr_threads locking
@ 2003-04-21 13:25 Manfred Spraul
  2003-04-21 18:28 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Manfred Spraul @ 2003-04-21 13:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Hi Andrew,

According to the comments, nr_threads is protected by lock_kernel, but 
do_fork() runs without the bkl for ages.
Would it be possible to use your percpu_counters for nr_threads? It 
seems to be used only to guard against fork bombs and for i_nlink of /proc.

--
    Manfred


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-21 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-21 13:25 Q: nr_threads locking Manfred Spraul
2003-04-21 18:28 ` Andrew Morton
2003-04-21 18:49   ` Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox