lkml.org 
[lkml]   [2008]   [May]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 16 May 2008 09:30:23 -0700 (PDT)
FromLinus Torvalds <>
SubjectRe: [PATCH, RFC] char dev BKL pushdown

On Fri, 16 May 2008, Jonathan Corbet wrote:
> 
> I'll put a shortlog and diffstat at the end of this message.  For
> completeness, there's also a list of files I examined and did *not* change.

May I suggest just adding a comment in those files, just saying something 
like

	/* This does not need the BKL, because .. */
where even the "because" part could be dropped when it's really obvious.

That way that "list of files I examined and did *not* change" would be 
obvious in the patch itself, and we also have some documentation that 
somebody actually looked at the path.

> Assuming nobody tells me I'm completely off-base, I guess my next step is
> to start running individual patches past maintainers.  Some of them,
> probably (I hope), will tell me that I've been wasting my time and that
> their code doesn't need the BKL.  In such cases, I'll gladly drop the
> associated patch.

Same deal - just document the fact that the BKL isn't needed.

Yeah, in the long run that kind of documentation is worthless and we may 
want to get rid of it again in a year or two, but in the short run it's a 
good idea. If only to help people who want to review your patches.

Btw, do you have gitweb running anywhere? 

		Linus


\
 
 \ /
  Last update: 2008-05-16 18:33    [from the cache]
©2003-2008