Re: [PATCH 4/4] mm/thp: narrow lru locking

2020-08-02 Thread Alex Shi
在 2020/8/2 下午7:09, Matthew Wilcox 写道: > You're playing games with separating interrupt disabling from spinlocks. > Have you got any feedback from -rt people on this? Is there other suggestions to remove local_irq_disable? Just check again on kernel/mm directory on linux-next. there are still

Re: [PATCH 4/4] mm/thp: narrow lru locking

2020-08-02 Thread Matthew Wilcox
You're playing games with separating interrupt disabling from spinlocks. Have you got any feedback from -rt people on this? On Sat, Aug 01, 2020 at 12:09:17PM +0800, Alex Shi wrote: > lru_lock and page cache xa_lock have no reason with current sequence, > put them together isn't necessary.

[PATCH 4/4] mm/thp: narrow lru locking

2020-07-31 Thread Alex Shi
lru_lock and page cache xa_lock have no reason with current sequence, put them together isn't necessary. let's narrow the lru locking, but left the local_irq_disable to block interrupt re-entry and statistic update. Hugh Dickins point: split_huge_page_to_list() was already silly,to be using the