[PATCH] um: borrow bitops from the x86 tree

Anton Ivanov anton.ivanov at cambridgegreys.com
Mon Dec 7 13:18:53 EST 2020


On 17/11/2020 12:53, Anton Ivanov wrote:
> On 17/11/2020 12:11, Johannes Berg wrote:
>> On Tue, 2020-11-17 at 11:46 +0000, Anton Ivanov wrote:
>>>
>>> My usual test is:
>>>
>>>    time busybox find /usr/lib/ -type f -exec cat {} > /dev/null \;
>>>
>>> I discard the first run and use only runs from fs cache.
>>
>> Oh. I didn't even run the timing inside. I ran it *outside*, something
>> like
>>
>> time ./linux args... init=/path/to/test-script.sh
> 
> I usually do a full set of tests on fs access, device IO access and a 
> netperf after each patch.
> 
> Based on them it looks like it is worth it.
> 
> The more interesting question is - is this the right organization?
> 
> We have stuff in multiple places now - arch/x86/um , arch/um, etc.
> 
> IMHO, we should probably look at getting it organized so that all 
> sub-arches are under the um tree at some point.


In the meantime, a backport of these patchsets (string, atomic, bitops, 
xor, futex, etc) to OpenWRT/UML has clocked 14 days as my main CPE.

I have not observed any stability issues and there is some visible 
improvement in CPU usage.


> 
>>
>> johannes
>>
>>
>> _______________________________________________
>> linux-um mailing list
>> linux-um at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-um
>>
> 
> 


-- 
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/



More information about the linux-um mailing list