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
| ||
|
Date: Thu, 30 Jun 2022 13:41:40 -0700 From: Kalesh Singh <kaleshsingh@...gle.com> To: "Jason A. Donenfeld" <Jason@...c4.com> Cc: John Stultz <jstultz@...gle.com>, "Paul E. McKenney" <paulmck@...nel.org>, Steven Rostedt <rostedt@...dmis.org>, "Rafael J. Wysocki" <rafael@...nel.org>, Christoph Hellwig <hch@...radead.org>, Saravana Kannan <saravanak@...gle.com>, "T.J. Mercier" <tjmercier@...gle.com>, Suren Baghdasaryan <surenb@...gle.com>, "Cc: Android Kernel" <kernel-team@...roid.com>, "Theodore Ts'o" <tytso@....edu>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Len Brown <len.brown@...el.com>, Pavel Machek <pavel@....cz>, LKML <linux-kernel@...r.kernel.org>, wireguard@...ts.zx2c4.com, netdev@...r.kernel.org, linux-pm@...r.kernel.org Subject: Re: [PATCH] pm/sleep: Add PM_USERSPACE_AUTOSLEEP Kconfig On Thu, Jun 30, 2022 at 12:49 PM Jason A. Donenfeld <Jason@...c4.com> wrote: > > Hi Kalesh, > > On Thu, Jun 30, 2022 at 07:12:29PM +0000, Kalesh Singh wrote: > > Systems that initiate frequent suspend/resume from userspace > > can make the kernel aware by enabling PM_USERSPACE_AUTOSLEEP > > config. > > > > This allows for certain sleep-sensitive code (wireguard/rng) to > > decide on what preparatory work should be performed (or not) in > > their pm_notification callbacks. > > > > This patch was prompted by the discussion at [1] which attempts > > to remove CONFIG_ANDROID that currently guards these code paths. > > > > [1] https://lore.kernel.org/r/20220629150102.1582425-1-hch@lst.de/ > > > > Suggested-by: Jason A. Donenfeld <Jason@...c4.com> > > Signed-off-by: Kalesh Singh <kaleshsingh@...gle.com> > > Thanks, looks good to me. Do you have a corresponding Gerrit link to the > change adding this to the base Android kernel config? If so, have my > Ack: > > Acked-by: Jason A. Donenfeld <Jason@...c4.com> Hi Jason, Our latest supported kernels in Android are based on 5.15 so the config change isn't yet needed. Once there are newer versions with the CONFIG_ANDROID removed I will add this to the defconfig. Thanks, Kalesh > > Jason > > -- > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@...roid.com. >
Powered by blists - more mailing lists