lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZvxRmiro3oE4hDgO@slm.duckdns.org>
Date: Tue, 1 Oct 2024 09:46:34 -1000
From: Tejun Heo <tj@...nel.org>
To: Matthias Männich <maennich@...gle.com>
Cc: linux-kernel@...r.kernel.org, kernel-team@...roid.com,
	peterz@...radead.org, void@...ifault.com
Subject: Re: [PATCH] sched: fix include for task_cpu_possible

On Mon, Sep 30, 2024 at 11:48:42PM +0000, Matthias Männich wrote:
> > Should the patch also remove mmu_context.h from kernel/sched/core.c?
> 
> kernel/sched/core.c has a call to switch_mm_irqs_off, which is defined
> in linux/mmu_context.h as well. So, no, the original include needs to
> remain.

Hmm... I'm a bit confused. kernel/sched/core.c always includes
kernel/sched/sched.h which collects all the shared includes. Why does it
need to be repeated in core.c?

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ