What do you think of my argument that each of the subcaches should register
currently_consuming counters which are the number of pages that subcache
currently takes up in memory, plus register an integer "preciousness" value, and
that the pressure API should pressure according to the formula:
pressure equals currently_consuming squared times preciousness
Further, that the equation above should be a nice one line formula in one place
in the kernel so that we can easily play with variations on it and benchmark the
results.
I don't like the current scheme of priorities of caches, it seems wrong to me
intuitively.
>
> hans> 2) If multiple kernel subsystem page pinners pin memory, how do we keep them
> hans> from deadlocking. Chris as you know is the reiserfs guy for that.
>
> I think that Riel is also working in that just now. I think that is
> better to find one API that is good for everybody.
I think the issue is not who can do it well, but would somebody finally just do
it? We have discussed it for 9 months now on fsdevel....:-)
>
> I would also like to see some common API for this kind of allocation
> of memory.
>
> Later, Juan.
>
> --
> In theory, practice and theory are the same, but in practice they
> are different -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/