Re: page_launder() bug

Aaron Lehmann (aaronl@vitelus.com)
Sun, 6 May 2001 22:19:38 -0700


On Sun, May 06, 2001 at 09:55:26PM -0700, David S. Miller wrote:
>
> Jonathan Morton writes:
> > >- page_count(page) == (1 + !!page->buffers));
> > Two inversions in a row?
> It is the most straightforward way to make a '1' or '0'
> integer from the NULL state of a pointer.

page_count(page) == (1 + (page->buffers != 0));

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