Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

$
0
0
Linus Torvalds writes: (Summary) 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 79b36f57c3ba..d0451f2501ba 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -503,6 +503,7 @@ static inline int lock_page_or_retry(struct page *page, struct mm_struct *mm, */ extern void wait_on_page_bit(struct page *page, int bit_nr); +} + /* * Wait for a page to complete writeback */ diff --git a/mm/filemap.c b/mm/filemap.c index a49702445ce0..9e34e7502cac 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1026,6 +1026,15 @@ int wait_on_page_bit_killable(struct page *page, int bit_nr) return wait_on_page_bit_common(q, page, bit_nr, TASK_KILLABLE, false);

Viewing all articles
Browse latest Browse all 1267

Trending Articles