From: Andrew Morton <akpm@linux-foundation.org>
To: Mark Brown <broonie@kernel.org>
Cc: Amir Goldstein <amir73il@gmail.com>,
Christian Brauner <brauner@kernel.org>,
David Hildenbrand <david@kernel.org>,
Henry Martin <bsdhenrymartin@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Mike Rapoport <rppt@kernel.org>,
Vlastimil Babka <vbabka@kernel.org>
Subject: Re: linux-next: manual merge of the fs-next tree with the mm tree
Date: Mon, 30 Nov 2026 10:21:16 -0800 [thread overview]
Message-ID: <20261130102116.72bfca0eee160754db2dca70@linux-foundation.org> (raw)
In-Reply-To: <aw2P3X3XuwTCitGf@sirena.org.uk>
On Mon, 30 Nov 2026 15:01:49 +0000 Mark Brown <broonie@kernel.org> wrote:
> Hi all,
>
> Today's linux-next merge of the fs-next tree got a conflict in:
>
> mm/filemap.c
>
> between commit:
>
> caa76be2dac5a ("mm: report all-zero cachestat for DAX mappings")
>
> from the mm tree and commit:
>
> f9b088d910e88 ("fs: add ->f_real() file operation")
>
> from the fs-next tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
OK, thanks. "mm: report all-zero cachestat for DAX mappings"
(https://patch.msgid.link/20261125030432.274396-1-bsdhenrymartin@gmail.com)
fixes an oops so I have it lined up for 7.4-rcX, cc:stable. Which is
going to mess up fs-next :(
> diff --cc mm/filemap.c
> index 5f0c52939805d,beb15d48c5dfd..0000000000000
> --- a/mm/filemap.c
> +++ b/mm/filemap.c
> @@@ -4826,11 -4841,8 +4834,11 @@@ SYSCALL_DEFINE4(cachestat, unsigned int
> last_index =
> csr.len == 0 ? ULONG_MAX : (csr.off + csr.len - 1) >> PAGE_SHIFT;
> memset(&cs, 0, sizeof(struct cachestat));
> - mapping = fd_file(f)->f_mapping;
> + mapping = real_file->f_mapping;
> - filemap_cachestat(mapping, first_index, last_index, &cs);
> +
> + /* DAX mappings have no page cache; report all zeros. */
> + if (!dax_mapping(mapping))
> + filemap_cachestat(mapping, first_index, last_index, &cs);
>
> if (copy_to_user(cstat, &cs, sizeof(struct cachestat)))
> return -EFAULT;
next prev parent reply other threads:[~2026-11-30 18:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 15:01 linux-next: manual merge of the fs-next tree with the mm tree Mark Brown
2026-11-30 18:21 ` Andrew Morton [this message]
2026-11-30 18:27 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2026-09-24 12:09 Mark Brown
2026-09-25 12:26 ` Carlos Maiolino
2026-09-25 13:11 ` Mark Brown
2026-09-25 15:03 ` Carlos Maiolino
2026-09-25 21:14 ` Andrew Morton
2026-09-28 12:26 ` Kefeng Wang
2026-09-28 12:48 ` Mark Brown
2026-10-19 11:48 ` Sasha Levin
2026-10-19 12:50 ` Carlos Maiolino
2026-10-19 13:00 ` Mark Brown
2026-09-23 10:08 Mark Brown
2026-09-17 14:48 Mark Brown
2026-09-17 14:48 Mark Brown
2026-09-17 14:48 Mark Brown
2026-09-17 19:13 ` Andrew Morton
2026-09-17 21:22 ` Jaegeuk Kim
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=20261130102116.72bfca0eee160754db2dca70@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=amir73il@gmail.com \
--cc=brauner@kernel.org \
--cc=broonie@kernel.org \
--cc=bsdhenrymartin@gmail.com \
--cc=david@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rppt@kernel.org \
--cc=vbabka@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.