[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Reduce bkl usage in do_coredump
> Might be nicer to just put the locking inside of format_corename() if it
> is the function itself that really needs the locking. If another use of
> it popped up, that user would get the locking for free and couldn't
> possibly forget it. Also, it's nicer to put the lock closer to the code
> that actually needs it. Untested patch to do that attached.

Probably a good idea.

> BTW, were you actually seeing a BKL contention problem, or was this just
> for cleanliness?

We have actually seen contention in do_coredump.

Josh Aas
Silicon Graphics, Inc. (SGI)
Linux System Software
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.024 / U:29.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site