Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2010 00:50:29 +0100
From:      Maks Verver <maksverver@geocities.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: Performance of SheevaPlug on 8-stable
Message-ID:  <4B958D45.7040608@geocities.com>
In-Reply-To: <201003081819.o28IJNe6045140@casselton.net>
References:  <201003081819.o28IJNe6045140@casselton.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/08/2010 07:19 PM, Mark Tinguely wrote:
> Could you do this instead:
> <code>
> This would give counts to make sure there is not a logic error in fix_cache.

I tried this (adding initialization of the flag variable) and the
problem is triggered with (at least) these values:

  kwritable uwritable kentries uentries
      1         0        1        0
      1         0        1        1
      0         1        0        1
      1         0        1        2

The 1/0/1/1 case appears most frequently. Why executable pages are ever
mapped writable in user-space, I don't know. It's useful for
generated/self-modifying code obviously, but I would not expect any of
the standard tools or libraries to rely on that.

 - Maks Verver.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B958D45.7040608>