Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Suren Baghdasaryan
On Wed, Sep 4, 2024 at 11:58 AM 'John Hubbard' via kernel-team wrote: > > On 9/4/24 9:08 AM, Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2024 at 7:06 PM 'John Hubbard' via kernel-team > > wrote: > >> On 9/3/24 6:25 PM, John Hubbard wrote: > >>> On 9/3/24 11:19 AM, Suren Baghdasaryan wrote: > >>>

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread John Hubbard
On 9/4/24 9:08 AM, Suren Baghdasaryan wrote: On Tue, Sep 3, 2024 at 7:06 PM 'John Hubbard' via kernel-team wrote: On 9/3/24 6:25 PM, John Hubbard wrote: On 9/3/24 11:19 AM, Suren Baghdasaryan wrote: On Sun, Sep 1, 2024 at 10:16 PM Andrew Morton wrote: On Sun, 1 Sep 2024 21:41:28 -0700 Sure

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Suren Baghdasaryan
On Wed, Sep 4, 2024 at 9:37 AM Kent Overstreet wrote: > > On Wed, Sep 04, 2024 at 05:35:49PM GMT, Matthew Wilcox wrote: > > On Wed, Sep 04, 2024 at 09:18:01AM -0700, Suren Baghdasaryan wrote: > > > I'm not sure I understand your suggestion, Matthew. We allocate a > > > folio and need to store a re

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Kent Overstreet
On Wed, Sep 04, 2024 at 05:35:49PM GMT, Matthew Wilcox wrote: > On Wed, Sep 04, 2024 at 09:18:01AM -0700, Suren Baghdasaryan wrote: > > I'm not sure I understand your suggestion, Matthew. We allocate a > > folio and need to store a reference to the tag associated with the > > code that allocated th

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Matthew Wilcox
On Wed, Sep 04, 2024 at 09:18:01AM -0700, Suren Baghdasaryan wrote: > I'm not sure I understand your suggestion, Matthew. We allocate a > folio and need to store a reference to the tag associated with the > code that allocated that folio. We are not operating with ranges here. > Are you suggesting

Re: [PATCH v2 5/6] alloc_tag: make page allocation tag reference size configurable

2024-09-04 Thread Suren Baghdasaryan
On Wed, Sep 4, 2024 at 9:25 AM Kent Overstreet wrote: > > On Tue, Sep 03, 2024 at 07:04:51PM GMT, Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2024 at 6:17 PM Kent Overstreet > > wrote: > > > > > > On Tue, Sep 03, 2024 at 06:07:28PM GMT, Suren Baghdasaryan wrote: > > > > On Sun, Sep 1, 2024 at 10

Re: [PATCH v2 5/6] alloc_tag: make page allocation tag reference size configurable

2024-09-04 Thread Kent Overstreet
On Tue, Sep 03, 2024 at 07:04:51PM GMT, Suren Baghdasaryan wrote: > On Tue, Sep 3, 2024 at 6:17 PM Kent Overstreet > wrote: > > > > On Tue, Sep 03, 2024 at 06:07:28PM GMT, Suren Baghdasaryan wrote: > > > On Sun, Sep 1, 2024 at 10:09 PM Andrew Morton > > > wrote: > > > > > > > > On Sun, 1 Sep 20

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Kent Overstreet
On Wed, Sep 04, 2024 at 09:18:01AM GMT, Suren Baghdasaryan wrote: > On Tue, Sep 3, 2024 at 7:19 PM Matthew Wilcox wrote: > > > > On Tue, Sep 03, 2024 at 06:25:52PM -0700, John Hubbard wrote: > > > The more I read this story, the clearer it becomes that this should be > > > entirely done by the bui

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Suren Baghdasaryan
On Tue, Sep 3, 2024 at 7:19 PM Matthew Wilcox wrote: > > On Tue, Sep 03, 2024 at 06:25:52PM -0700, John Hubbard wrote: > > The more I read this story, the clearer it becomes that this should be > > entirely done by the build system: set it, or don't set it, automatically. > > > > And if you can ma

Re: [PATCH v2 6/6] alloc_tag: config to store page allocation tag refs in page flags

2024-09-04 Thread Suren Baghdasaryan
On Tue, Sep 3, 2024 at 7:06 PM 'John Hubbard' via kernel-team wrote: > > On 9/3/24 6:25 PM, John Hubbard wrote: > > On 9/3/24 11:19 AM, Suren Baghdasaryan wrote: > >> On Sun, Sep 1, 2024 at 10:16 PM Andrew Morton > >> wrote: > >>> On Sun, 1 Sep 2024 21:41:28 -0700 Suren Baghdasaryan > >>> wro

Re: [PATCH] Documentation: livepatch: Correct release locks antonym

2024-09-04 Thread Petr Mladek
On Tue 2024-09-03 09:47:53, Bagas Sanjaya wrote: > "get" doesn't properly fit as an antonym for "release" in the context > of locking. Correct it with "acquire". > > Signed-off-by: Bagas Sanjaya Reviewed-by: Petr Mladek The patch is trivial. I have have committed it into livepatching.git, bran

Re: [PATCH] docs: submitting-patches: Advertise b4

2024-09-04 Thread Mark Brown
On Wed, Sep 04, 2024 at 04:44:51AM +0200, Mauro Carvalho Chehab wrote: > Mark Brown escreveu: > > +Tooling > > +--- > > +Many of the technical aspects of this process can be automated using > > +b4, documented at . This can > > +help with things like tr

Re: [PATCH HID 4/7] HID: bpf: allow BPF programs to force using hid-generic

2024-09-04 Thread Benjamin Tissoires
On Sep 03 2024, Benjamin Tissoires wrote: > On Sep 03 2024, Peter Hutterer wrote: > > On Tue, Sep 03, 2024 at 01:14:34AM +0900, Benjamin Tissoires wrote: > > > The use case is when we fix a device through HID-BPF, 99% of the cases > > > we want the device to use hid-generic now instead of a dedicat