[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 7/9] mm: Keep pages available for allocation while scrubbing



>>> On 04.05.17 at 19:26, <boris.ostrovsky@xxxxxxxxxx> wrote:
> On 05/04/2017 12:03 PM, Jan Beulich wrote:
>>>>> On 14.04.17 at 17:37, <boris.ostrovsky@xxxxxxxxxx> wrote:
>>> Instead of scrubbing pages while holding heap lock we can mark
>>> buddy's head as being scrubbed and drop the lock temporarily.
>>> If someone (most likely alloc_heap_pages()) tries to access
>>> this chunk it will signal the scrubber to abort scrub by setting
>>> head's PAGE_SCRUB_ABORT bit. The scrubber checks this bit after
>>> processing each page and stops its work as soon as it sees it.
>> Explanation sounds fine, but didn't you earlier indicate you think
>> yourself that the title is not really suitable (anymore)? I'm of
>> that opinion, at least, as pages are always available now, it's just
>> that the latency to get hold of the heap lock is higher before this
>> change than what we want it to be.
> 
> Uhm... Yes, that's what it meant to say ;-)
> 
> Should have been "Keep *heap* available to others while scrubbing"

And perhaps s/available/accessible/ ?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.