Files
linux/include/linux
Matthew Wilcox (Oracle) 0a890e2209 XArray: add xas_split
commit 8fc75643c5 upstream

In order to use multi-index entries for huge pages in the page cache, we
need to be able to split a multi-index entry (eg if a file is truncated in
the middle of a huge page entry).  This version does not support splitting
more than one level of the tree at a time.  This is an acceptable
limitation for the page cache as we do not expect to support order-12
pages in the near future.

[akpm@linux-foundation.org: export xas_split_alloc() to modules]
[willy@infradead.org: fix xarray split]
  Link: https://lkml.kernel.org/r/20200910175450.GV6583@casper.infradead.org
[willy@infradead.org: fix xarray]
  Link: https://lkml.kernel.org/r/20201001233943.GW20115@casper.infradead.org

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Qian Cai <cai@lca.pw>
Cc: Song Liu <songliubraving@fb.com>
Link: https://lkml.kernel.org/r/20200903183029.14930-3-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-10 13:37:14 +02:00
..
2019-08-09 09:15:05 +02:00
2019-09-17 10:27:46 -07:00
2020-02-19 19:53:09 +01:00
2019-05-31 11:13:10 +02:00
2021-04-14 08:24:17 +02:00
2019-08-20 22:09:52 +02:00
2019-08-28 21:17:12 -06:00
2018-11-07 13:44:59 -07:00
2018-11-07 13:44:59 -07:00
2019-04-09 17:05:46 -07:00
2018-06-15 18:10:01 -03:00
2018-08-22 10:52:48 -07:00
2021-01-23 15:57:55 +01:00
2019-02-28 03:28:53 -05:00
2019-02-28 08:24:23 -07:00
2021-01-30 13:54:11 +01:00
2021-01-06 14:48:35 +01:00
2020-03-25 08:25:58 +01:00
2019-02-15 16:54:38 +01:00
2019-09-05 11:40:54 +02:00
2021-06-10 13:37:14 +02:00
2019-10-02 06:36:50 -07:00
2019-07-05 21:34:50 +02:00
2019-06-26 13:19:46 -07:00
2021-05-19 10:08:30 +02:00
2018-11-19 19:03:46 -07:00
2018-06-22 13:43:27 +09:00
2019-06-10 13:00:24 +02:00
2019-04-08 22:56:14 +02:00
2019-09-07 04:28:05 -03:00
2019-12-13 08:42:53 +01:00
2021-03-04 10:26:29 +01:00
2021-02-07 15:35:49 +01:00
2018-07-12 21:35:28 +02:00
2019-03-07 18:32:03 -08:00
2019-09-05 12:32:05 +02:00
2018-06-07 17:34:35 -07:00
2019-12-13 08:43:18 +01:00
2021-05-19 10:08:29 +02:00
2020-07-29 10:18:36 +02:00
2019-08-14 15:30:35 +02:00
2018-10-17 13:56:58 -07:00
2019-06-13 09:02:33 -04:00
2019-02-20 07:22:17 -07:00
2019-02-20 07:22:10 -07:00
2018-12-06 15:45:46 +01:00
2019-02-08 15:02:49 -08:00
2018-07-10 17:22:35 +02:00
2018-06-07 17:34:36 -07:00
2018-10-21 10:46:39 -04:00
2019-07-16 19:23:25 -07:00
2020-03-18 07:17:46 +01:00
2019-08-01 21:49:46 +02:00
2018-10-08 22:53:10 +11:00
2019-06-15 12:25:49 +02:00
2019-05-14 19:52:48 -07:00
2018-07-20 01:11:45 +02:00
2019-07-31 19:03:35 +02:00
2019-05-08 22:14:36 +02:00
2018-09-25 20:17:35 -07:00
2020-04-17 10:50:12 +02:00
2020-04-02 15:11:00 +02:00
2019-05-31 12:37:46 -07:00
2019-05-16 15:51:55 -07:00
2018-07-07 17:25:23 +02:00
2019-10-31 14:01:40 -07:00
2019-02-07 16:38:35 +01:00
2018-06-20 11:35:56 +02:00
2021-03-07 12:20:49 +01:00
2019-09-07 21:42:25 +02:00
2018-10-11 09:16:44 -07:00
2019-02-07 00:13:27 +01:00
2019-08-01 20:51:22 +02:00
2019-07-31 19:03:35 +02:00
2020-12-11 13:23:28 +01:00
2019-01-11 18:05:40 -08:00
2020-04-02 15:11:00 +02:00
2019-05-15 17:35:54 +01:00
2018-12-22 12:15:29 +01:00
2021-06-10 13:37:14 +02:00