Re: "Directly mapped persistent memory page cache"

From: Jeff Moyer
Date: Mon May 11 2015 - 10:52:06 EST

Ingo Molnar <mingo@xxxxxxxxxx> writes:

>> [...] support for atomicity (to avoid journaling in PM space), etc.
> This too should work fine, by way of the SMP coherency protocol, if
> atomic instructions are used on the relevant metadata.

This isn't true. Visibility and durability are two very different
things. That's what pcommit is all about. Search for it in this
document, if you aren't already familiar with it:

However, in the context of your page structures that are re-initialized
every boot, durability doesn't matter. So maybe that's what you were

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at