Re: [PATCH v3] mm: Avoid unnecessary page fault retires on shared memory types

2022-05-26 Thread Max Filippov
On Tue, May 24, 2022 at 4:45 PM Peter Xu wrote: > > I observed that for each of the shared file-backed page faults, we're very > likely to retry one more time for the 1st write fault upon no page. It's > because we'll need to release the mmap lock for dirty rate limit purpose > with

Re: [PATCH v3] mm: Avoid unnecessary page fault retires on shared memory types

2022-05-26 Thread Guo Ren
For csky part. Acked-by: Guo Ren On Wed, May 25, 2022 at 7:45 AM Peter Xu wrote: > > I observed that for each of the shared file-backed page faults, we're very > likely to retry one more time for the 1st write fault upon no page. It's > because we'll need to release the mmap lock for dirty

Re: [PATCH 0/2] bitops: __fls adjustments

2022-05-26 Thread Cezary Rojewski
On 2022-05-25 4:48 PM, Amadeusz Sławiński wrote: Apparently on few architectures __fls is defined incorrectly. Fix this by adjusting declarations to asm-generic ones. As far as I can tell there should be no functional changes, but I don't have devices to test it, so it was only compile tested.