Re: [PATCH] madvise: fix locking in force_swapin_readahead() (Re: [PATCH 08/11] madvise: redefine callback functions for page table walker)

2014-03-20 Thread Hugh Dickins
On Thu, 20 Mar 2014, Naoya Horiguchi wrote: > On Thu, Mar 20, 2014 at 09:47:04PM -0400, Sasha Levin wrote: > > On 02/10/2014 04:44 PM, Naoya Horiguchi wrote: > > >swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code > > >about pmd handling (except pmd_none_or_trans_huge_or_clear_ba

Re: [PATCH 08/11] madvise: redefine callback functions for page table walker

2014-03-20 Thread Sasha Levin
On 02/10/2014 04:44 PM, Naoya Horiguchi wrote: swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_

[PATCH 08/11] madvise: redefine callback functions for page table walker

2014-02-10 Thread Naoya Horiguchi
swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_walk_pte_entry(). Signed-off-by: Naoya Horiguchi

[PATCH 08/11] madvise: redefine callback functions for page table walker

2014-01-13 Thread Naoya Horiguchi
swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_walk_pte_entry(). Signed-off-by: Naoya Horiguchi

[PATCH 08/11] madvise: redefine callback functions for page table walker

2013-12-11 Thread Naoya Horiguchi
swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_walk_pte_entry(). Signed-off-by: Naoya Horiguchi

[PATCH 08/11] madvise: redefine callback functions for page table walker

2013-10-30 Thread Naoya Horiguchi
swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_walk_pte_entry(). Signed-off-by: Naoya Horiguchi

[PATCH 08/11] madvise: redefine callback functions for page table walker

2013-10-14 Thread Naoya Horiguchi
swapin_walk_pmd_entry() is defined as pmd_entry(), but it has no code about pmd handling (except pmd_none_or_trans_huge_or_clear_bad, but the same check are now done in core page table walk code). So let's move this function on pte_entry() as swapin_walk_pte_entry(). Signed-off-by: Naoya Horiguchi