Re: [PATCH] madvise_need_mmap_write() usage

From: Christoph Hellwig
Date: Sat Jun 16 2007 - 15:41:39 EST


On Fri, Jun 15, 2007 at 11:20:31AM -0400, Jason Baron wrote:
> hi,
>
> i was just looking at the new madvise_need_mmap_write() call...can we
> avoid an extra case statement and function call as follows?

Sounds like a good idea, but please move the assignment out of the
conditional.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/