Skip to content

Commit 946c6b5

Browse files
committed
Merge tag 'mm-hotfixes-stable-2023-07-08-10-43' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull hotfixes from Andrew Morton: "16 hotfixes. Six are cc:stable and the remainder address post-6.4 issues" The merge undoes the disabling of the CONFIG_PER_VMA_LOCK feature, since it was all hopefully fixed in mainline. * tag 'mm-hotfixes-stable-2023-07-08-10-43' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: lib: dhry: fix sleeping allocations inside non-preemptable section kasan, slub: fix HW_TAGS zeroing with slub_debug kasan: fix type cast in memory_is_poisoned_n mailmap: add entries for Heiko Stuebner mailmap: update manpage link bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page MAINTAINERS: add linux-next info mailmap: add Markus Schneider-Pargmann writeback: account the number of pages written back mm: call arch_swap_restore() from do_swap_page() squashfs: fix cache race with migration mm/hugetlb.c: fix a bug within a BUG(): inconsistent pte comparison docs: update ocfs2-devel mailing list address MAINTAINERS: update ocfs2-devel mailing list address mm: disable CONFIG_PER_VMA_LOCK until its fixed fork: lock VMAs of the parent process when forking
2 parents fb49c45 + 8ba388c commit 946c6b5

File tree

18 files changed

+99
-44
lines changed

18 files changed

+99
-44
lines changed

.mailmap

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# same person appearing not to be so or badly displayed. Also allows for
66
# old email addresses to map to new email addresses.
77
#
8-
# For format details, see "MAPPING AUTHORS" in "man git-shortlog".
8+
# For format details, see "man gitmailmap" or "MAPPING AUTHORS" in
9+
# "man git-shortlog" on older systems.
910
#
1011
# Please keep this list dictionary sorted.
1112
#
@@ -177,6 +178,9 @@ Gustavo Padovan <padovan@profusion.mobi>
177178
Hanjun Guo <guohanjun@huawei.com> <hanjun.guo@linaro.org>
178179
Heiko Carstens <hca@linux.ibm.com> <h.carstens@de.ibm.com>
179180
Heiko Carstens <hca@linux.ibm.com> <heiko.carstens@de.ibm.com>
181+
Heiko Stuebner <heiko@sntech.de> <heiko.stuebner@bqreaders.com>
182+
Heiko Stuebner <heiko@sntech.de> <heiko.stuebner@theobroma-systems.com>
183+
Heiko Stuebner <heiko@sntech.de> <heiko.stuebner@vrull.eu>
180184
Henk Vergonet <Henk.Vergonet@gmail.com>
181185
Henrik Kretzschmar <henne@nachtwindheim.de>
182186
Henrik Rydberg <rydberg@bitmath.org>
@@ -305,6 +309,7 @@ Marek Behún <kabel@kernel.org> <marek.behun@nic.cz>
305309
Marek Behún <kabel@kernel.org> Marek Behun <marek.behun@nic.cz>
306310
Mark Brown <broonie@sirena.org.uk>
307311
Mark Starovoytov <mstarovo@pm.me> <mstarovoitov@marvell.com>
312+
Markus Schneider-Pargmann <msp@baylibre.com> <mpa@pengutronix.de>
308313
Mark Yao <markyao0591@gmail.com> <mark.yao@rock-chips.com>
309314
Martin Kepplinger <martink@posteo.de> <martin.kepplinger@ginzinger.com>
310315
Martin Kepplinger <martink@posteo.de> <martin.kepplinger@puri.sm>

Documentation/ABI/obsolete/o2cb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
What: /sys/o2cb
22
Date: Dec 2005
33
KernelVersion: 2.6.16
4-
Contact: ocfs2-devel@oss.oracle.com
4+
Contact: ocfs2-devel@lists.linux.dev
55
Description: Ocfs2-tools looks at 'interface-revision' for versioning
66
information. Each logmask/ file controls a set of debug prints
77
and can be written into with the strings "allow", "deny", or
88
"off". Reading the file returns the current state.
99
Was renamed to /sys/fs/u2cb/
1010
Users: ocfs2-tools. It's sufficient to mail proposed changes to
11-
ocfs2-devel@oss.oracle.com.
11+
ocfs2-devel@lists.linux.dev.

Documentation/ABI/removed/o2cb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
What: /sys/o2cb symlink
22
Date: May 2011
33
KernelVersion: 3.0
4-
Contact: ocfs2-devel@oss.oracle.com
4+
Contact: ocfs2-devel@lists.linux.dev
55
Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is
66
removed when new versions of ocfs2-tools which know to look
77
in /sys/fs/o2cb are sufficiently prevalent. Don't code new
88
software to look here, it should try /sys/fs/o2cb instead.
99
Users: ocfs2-tools. It's sufficient to mail proposed changes to
10-
ocfs2-devel@oss.oracle.com.
10+
ocfs2-devel@lists.linux.dev.

Documentation/ABI/stable/o2cb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
What: /sys/fs/o2cb/
22
Date: Dec 2005
33
KernelVersion: 2.6.16
4-
Contact: ocfs2-devel@oss.oracle.com
4+
Contact: ocfs2-devel@lists.linux.dev
55
Description: Ocfs2-tools looks at 'interface-revision' for versioning
66
information. Each logmask/ file controls a set of debug prints
77
and can be written into with the strings "allow", "deny", or
88
"off". Reading the file returns the current state.
99
Users: ocfs2-tools. It's sufficient to mail proposed changes to
10-
ocfs2-devel@oss.oracle.com.
10+
ocfs2-devel@lists.linux.dev.

Documentation/ABI/testing/sysfs-ocfs2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
What: /sys/fs/ocfs2/
22
Date: April 2008
3-
Contact: ocfs2-devel@oss.oracle.com
3+
Contact: ocfs2-devel@lists.linux.dev
44
Description:
55
The /sys/fs/ocfs2 directory contains knobs used by the
66
ocfs2-tools to interact with the filesystem.
77

88
What: /sys/fs/ocfs2/max_locking_protocol
99
Date: April 2008
10-
Contact: ocfs2-devel@oss.oracle.com
10+
Contact: ocfs2-devel@lists.linux.dev
1111
Description:
1212
The /sys/fs/ocfs2/max_locking_protocol file displays version
1313
of ocfs2 locking supported by the filesystem. This version
@@ -28,7 +28,7 @@ Description:
2828

2929
What: /sys/fs/ocfs2/loaded_cluster_plugins
3030
Date: April 2008
31-
Contact: ocfs2-devel@oss.oracle.com
31+
Contact: ocfs2-devel@lists.linux.dev
3232
Description:
3333
The /sys/fs/ocfs2/loaded_cluster_plugins file describes
3434
the available plugins to support ocfs2 cluster operation.
@@ -48,7 +48,7 @@ Description:
4848

4949
What: /sys/fs/ocfs2/active_cluster_plugin
5050
Date: April 2008
51-
Contact: ocfs2-devel@oss.oracle.com
51+
Contact: ocfs2-devel@lists.linux.dev
5252
Description:
5353
The /sys/fs/ocfs2/active_cluster_plugin displays which
5454
cluster plugin is currently in use by the filesystem.
@@ -65,7 +65,7 @@ Description:
6565

6666
What: /sys/fs/ocfs2/cluster_stack
6767
Date: April 2008
68-
Contact: ocfs2-devel@oss.oracle.com
68+
Contact: ocfs2-devel@lists.linux.dev
6969
Description:
7070
The /sys/fs/ocfs2/cluster_stack file contains the name
7171
of current ocfs2 cluster stack. This value is set by
@@ -86,4 +86,4 @@ Description:
8686
stack return an error.
8787

8888
Users:
89-
ocfs2-tools <ocfs2-tools-devel@oss.oracle.com>
89+
ocfs2-tools <ocfs2-tools-devel@lists.linux.dev>

Documentation/filesystems/dlmfs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dlmfs is built with OCFS2 as it requires most of its infrastructure.
1212

1313
:Project web page: http://ocfs2.wiki.kernel.org
1414
:Tools web page: https://github.com/markfasheh/ocfs2-tools
15-
:OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
15+
:OCFS2 mailing lists: https://subspace.kernel.org/lists.linux.dev.html
1616

1717
All code copyright 2005 Oracle except when otherwise noted.
1818

Documentation/filesystems/ocfs2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ get "mount.ocfs2" and "ocfs2_hb_ctl".
1414

1515
Project web page: http://ocfs2.wiki.kernel.org
1616
Tools git tree: https://github.com/markfasheh/ocfs2-tools
17-
OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
17+
OCFS2 mailing lists: https://subspace.kernel.org/lists.linux.dev.html
1818

1919
All code copyright 2005 Oracle except when otherwise noted.
2020

MAINTAINERS

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12069,6 +12069,13 @@ F: Documentation/litmus-tests/
1206912069
F: Documentation/memory-barriers.txt
1207012070
F: tools/memory-model/
1207112071

12072+
LINUX-NEXT TREE
12073+
M: Stephen Rothwell <sfr@canb.auug.org.au>
12074+
L: linux-next@vger.kernel.org
12075+
S: Supported
12076+
B: mailto:linux-next@vger.kernel.org and the appropriate development tree
12077+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/
12078+
1207212079
LIS3LV02D ACCELEROMETER DRIVER
1207312080
M: Eric Piel <eric.piel@tremplin-utc.net>
1207412081
S: Maintained
@@ -15894,7 +15901,7 @@ ORACLE CLUSTER FILESYSTEM 2 (OCFS2)
1589415901
M: Mark Fasheh <mark@fasheh.com>
1589515902
M: Joel Becker <jlbec@evilplan.org>
1589615903
M: Joseph Qi <joseph.qi@linux.alibaba.com>
15897-
L: ocfs2-devel@oss.oracle.com (moderated for non-subscribers)
15904+
L: ocfs2-devel@lists.linux.dev
1589815905
S: Supported
1589915906
W: http://ocfs2.wiki.kernel.org
1590015907
F: Documentation/filesystems/dlmfs.rst

fs/ocfs2/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ config OCFS2_FS
1717
You'll want to install the ocfs2-tools package in order to at least
1818
get "mount.ocfs2".
1919

20-
Project web page: https://oss.oracle.com/projects/ocfs2
21-
Tools web page: https://oss.oracle.com/projects/ocfs2-tools
22-
OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
20+
Project web page: https://ocfs2.wiki.kernel.org/
21+
Tools web page: https://github.com/markfasheh/ocfs2-tools
22+
OCFS2 mailing lists: https://subspace.kernel.org/lists.linux.dev.html
2323

2424
For more information on OCFS2, see the file
2525
<file:Documentation/filesystems/ocfs2.rst>.

fs/squashfs/block.c

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,26 @@ static int squashfs_bio_read_cached(struct bio *fullbio,
166166
return 0;
167167
}
168168

169+
static struct page *squashfs_get_cache_page(struct address_space *mapping,
170+
pgoff_t index)
171+
{
172+
struct page *page;
173+
174+
if (!mapping)
175+
return NULL;
176+
177+
page = find_get_page(mapping, index);
178+
if (!page)
179+
return NULL;
180+
181+
if (!PageUptodate(page)) {
182+
put_page(page);
183+
return NULL;
184+
}
185+
186+
return page;
187+
}
188+
169189
static int squashfs_bio_read(struct super_block *sb, u64 index, int length,
170190
struct bio **biop, int *block_offset)
171191
{
@@ -190,11 +210,10 @@ static int squashfs_bio_read(struct super_block *sb, u64 index, int length,
190210
for (i = 0; i < page_count; ++i) {
191211
unsigned int len =
192212
min_t(unsigned int, PAGE_SIZE - offset, total_len);
193-
struct page *page = NULL;
213+
pgoff_t index = (read_start >> PAGE_SHIFT) + i;
214+
struct page *page;
194215

195-
if (cache_mapping)
196-
page = find_get_page(cache_mapping,
197-
(read_start >> PAGE_SHIFT) + i);
216+
page = squashfs_get_cache_page(cache_mapping, index);
198217
if (!page)
199218
page = alloc_page(GFP_NOIO);
200219

0 commit comments

Comments
 (0)