Re: [PATCH] mm/page-writeback: introduce tracepoint for wait_on_page_writeback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri 26-04-19 11:25:42, Andrew Morton wrote:
> On Fri, 26 Apr 2019 18:26:42 +0800 Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
[...]
> > +/*
> > + * Wait for a page to complete writeback
> > + */
> > +void wait_on_page_writeback(struct page *page)
> > +{
> > +	if (PageWriteback(page)) {
> > +		trace_wait_on_page_writeback(page, page_mapping(page));
> > +		wait_on_page_bit(page, PG_writeback);
> > +	}
> > +}
> > +EXPORT_SYMBOL_GPL(wait_on_page_writeback);
> 
> But this is a stealth change to the wait_on_page_writeback() licensing.

Why do we have to put that out of line in the first place? Btw.
wait_on_page_bit is EXPORT_SYMBOL...
-- 
Michal Hocko
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux