Re: vmscan.c heuristic adjustment for smaller systems

William Lee Irwin III
2004-04-18T19:05:14Z

On Sun, Apr 18, 2004 at 10:53:24AM -0700, William Lee Irwin III wrote:
>> Well, there's a point of some kind to it.

On Sun, Apr 18, 2004 at 11:06:14AM -0700, Marc Singer wrote:
> I don't think I understand what you mean.

Feeding the replacement heuristics better input tends to get better
results, or something on that order.

On Sun, Apr 18, 2004 at 10:53:24AM -0700, William Lee Irwin III wrote:
>> Actually ptep_to_address() should find the uvaddr for you.

On Sun, Apr 18, 2004 at 11:06:14AM -0700, Marc Singer wrote:
> The set_pte function is assembler coded. For a proof of concept, I am
> willing to be blunt.

If you're stuck examining struct page you might want to keep it in C for
a while.

On Sun, Apr 18, 2004 at 10:53:24AM -0700, William Lee Irwin III wrote:
>> I'm not going to tell ou what your results are.

On Sun, Apr 18, 2004 at 11:06:14AM -0700, Marc Singer wrote:
> Perhaps, though, this isn't such a bad result. It could mean that the
> lazy TLB flush is OK and that my bug is something different. Or, it
> could mean that I'm still doing the flush incorrectly and that that is
> the correct solution were it done right.

Was this the one-liner in vmscan.c from earlier?

-- wli