Re: [PATCH] tools/testing/scatterlist: Add missing defines

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

 



On 2022-01-25 18:44:13 [-0800], Andrew Morton wrote:
> On Tue, 18 Jan 2022 10:21:05 +0200 Maor Gottlieb <maorg@xxxxxxxxxx> wrote:
> 
> > The cited commits replaced preemptible with pagefault_disabled and
> > flush_kernel_dcache_page with flush_dcache_page respectively, hence
> > need to update the corresponding defines in the test.
> 
> What are the effects of this change?  Does it fix compilation
> issues?  Runtime issues?  If so, what are those issues?

There is this runtime test
	tools/testing/scatterlist/main.c

and without the changes to
	tools/testing/scatterlist/linux/mm.h

it simply does not compile. Since it is userland, the kernel details
like preemptible() or pagefault_disabled() don't matter much, it has
just to compile and run.

Sebastian




[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