# Re: \[RFC PATCH 0/7\] evacuate struct page from the block layer

- From: Rik van Riel \<hidden\>
- Date: 2015-03-20 16:21:34 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2015/03/93642
- Thread: https://ratatoskr.run/linux-arch/2015/03/93468/t.md

```text
On 03/19/2015 09:43 AM, Matthew Wilcox wrote:

> 1. Construct struct pages for persistent memory
> 1a. Permanently
> 1b. While the pages are under I/O

Michael Tsirkin and I have been doing some thinking about what
it would take to allocate struct pages per 2MB area permanently,
and allocate additional struct pages for 4kB pages on demand,
when a 2MB area is broken up into 4kB pages.

This should work for both DRAM and persistent memory.

I am still not convinced it is worthwhile to have struct pages
for persistent memory though, but I am willing to change my mind.

-- 
All rights reversed
```
