linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: chengming.zhou@linux.dev
Cc: sfrench@samba.org, pc@manguebit.com, ronniesahlberg@gmail.com,
	 sprasad@microsoft.com, tom@talpey.com,
	samba-technical@lists.samba.org,  linux-cifs@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	 vbabka@suse.cz, roman.gushchin@linux.dev,
	Xiongwei.Song@windriver.com,
	 Chengming Zhou <zhouchengming@bytedance.com>
Subject: Re: [PATCH] smb: remove SLAB_MEM_SPREAD flag usage
Date: Sun, 25 Feb 2024 10:51:50 -0600	[thread overview]
Message-ID: <CAH2r5mvoS1+52SvT3XCPiBtOWAFyoVy3LajfQSFGOAa2h8Wy3w@mail.gmail.com> (raw)
In-Reply-To: <20240224135809.830610-1-chengming.zhou@linux.dev>

added to cifs-2.6.git for-next (minor update to put "Link: ...") line
in the description

On Sat, Feb 24, 2024 at 7:58 AM <chengming.zhou@linux.dev> wrote:
>
> From: Chengming Zhou <zhouchengming@bytedance.com>
>
> The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove
> its usage so we can delete it from slab. No functional change.
>
> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
> ---
>  fs/smb/client/cifsfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
> index 9cd3bb48bd3b..45e57c852f33 100644
> --- a/fs/smb/client/cifsfs.c
> +++ b/fs/smb/client/cifsfs.c
> @@ -1661,7 +1661,7 @@ cifs_init_inodecache(void)
>         cifs_inode_cachep = kmem_cache_create("cifs_inode_cache",
>                                               sizeof(struct cifsInodeInfo),
>                                               0, (SLAB_RECLAIM_ACCOUNT|
> -                                               SLAB_MEM_SPREAD|SLAB_ACCOUNT),
> +                                               SLAB_ACCOUNT),
>                                               cifs_init_once);
>         if (cifs_inode_cachep == NULL)
>                 return -ENOMEM;
> --
> 2.40.1
>
>


-- 
Thanks,

Steve


      reply	other threads:[~2024-02-25 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-24 13:58 chengming.zhou
2024-02-25 16:51 ` Steve French [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH2r5mvoS1+52SvT3XCPiBtOWAFyoVy3LajfQSFGOAa2h8Wy3w@mail.gmail.com \
    --to=smfrench@gmail.com \
    --cc=Xiongwei.Song@windriver.com \
    --cc=chengming.zhou@linux.dev \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pc@manguebit.com \
    --cc=roman.gushchin@linux.dev \
    --cc=ronniesahlberg@gmail.com \
    --cc=samba-technical@lists.samba.org \
    --cc=sfrench@samba.org \
    --cc=sprasad@microsoft.com \
    --cc=tom@talpey.com \
    --cc=vbabka@suse.cz \
    --cc=zhouchengming@bytedance.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox