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 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 > > > w

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-03 Thread Kent Overstreet
On Tue, Sep 03, 2024 at 06:25:52PM GMT, 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 > > > wrote: > ... > > > We shouldn't be offering things like this

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

2024-09-03 Thread Kent Overstreet
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 2024 21:41:27 -0700 Suren Baghdasaryan > > wrote: > > > > > Introduce CONFIG_PGALLOC_TAG_REF_BITS to control the size of the > > > page allocation ta

Re: [PATCH 1/5] alloc_tag: load module tags into separate continuous memory

2024-08-20 Thread Kent Overstreet
On Tue, Aug 20, 2024 at 10:13:07AM GMT, Mike Rapoport wrote: > On Mon, Aug 19, 2024 at 08:15:07AM -0700, Suren Baghdasaryan wrote: > > When a module gets unloaded there is a possibility that some of the > > allocations it made are still used and therefore the allocation tags > > corresponding to th

Re: [PATCH v2 28/39] timekeeping: Fix a circular include dependency

2023-10-26 Thread Kent Overstreet
On Fri, Oct 27, 2023 at 01:05:48AM +0200, Thomas Gleixner wrote: > On Thu, Oct 26 2023 at 18:33, Suren Baghdasaryan wrote: > > On Wed, Oct 25, 2023 at 5:33 PM Thomas Gleixner wrote: > >> > This avoids a circular header dependency in an upcoming patch by only > >> > making hrtimer.h depend on percp