Messages in this thread |  | | Date | Fri, 11 Jan 2008 11:06:22 -0500 | From | Rik van Riel <> | Subject | Re: [patch 05/19] split LRU lists into anon & file sets |
| |
On Fri, 11 Jan 2008 10:50:09 -0500 Lee Schermerhorn <Lee.Schermerhorn@hp.com> wrote:
> Again, my doing. I agree that the calculation is a bit strange, but I > wanted to "future-proof" this function in case we ever get to a value of > '6' for the lru_list enum. In that case, the AND will evaluate to > non-zero for what may not be a file LRU. Between the build time > assertion and the division [which could just be a 'l >> 1', I suppose] > we should be safe.
Good point. I did not guess that.
I'll restore the code to your original test.
-- All rights reversed.
|  |