Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > On Thu, Oct 22, 2015 at 1:48 PM, Jeff Moyer wrote: >> Dan Williams writes: >> >>> Both, __dax_pmd_fault, and clear_pmem() were taking special steps to >>> clear memory a page at a time to take advantage of non-temporal >>> clear_page() implementations. However, x86_64

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > On Thu, Oct 22, 2015 at 1:48 PM, Jeff Moyer wrote: >> Dan Williams writes: >> >>> Both, __dax_pmd_fault, and clear_pmem() were taking special steps to >>> clear memory a page at a time to take

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-27 Thread Ross Zwisler
On Thu, Oct 22, 2015 at 01:10:21PM -0400, Dan Williams wrote: > Both, __dax_pmd_fault, and clear_pmem() were taking special steps to > clear memory a page at a time to take advantage of non-temporal > clear_page() implementations. However, x86_64 does not use > non-temporal instructions for

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-27 Thread Ross Zwisler
On Thu, Oct 22, 2015 at 01:10:21PM -0400, Dan Williams wrote: > Both, __dax_pmd_fault, and clear_pmem() were taking special steps to > clear memory a page at a time to take advantage of non-temporal > clear_page() implementations. However, x86_64 does not use > non-temporal instructions for

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Dan Williams
On Thu, Oct 22, 2015 at 1:48 PM, Jeff Moyer wrote: > Dan Williams writes: > >> Both, __dax_pmd_fault, and clear_pmem() were taking special steps to >> clear memory a page at a time to take advantage of non-temporal >> clear_page() implementations. However, x86_64 does not use >> non-temporal

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Jeff Moyer
Dan Williams writes: > Both, __dax_pmd_fault, and clear_pmem() were taking special steps to > clear memory a page at a time to take advantage of non-temporal > clear_page() implementations. However, x86_64 does not use > non-temporal instructions for clear_page(), and arch_clear_pmem() was >

[PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Dan Williams
Both, __dax_pmd_fault, and clear_pmem() were taking special steps to clear memory a page at a time to take advantage of non-temporal clear_page() implementations. However, x86_64 does not use non-temporal instructions for clear_page(), and arch_clear_pmem() was always incurring the cost of

[PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Dan Williams
Both, __dax_pmd_fault, and clear_pmem() were taking special steps to clear memory a page at a time to take advantage of non-temporal clear_page() implementations. However, x86_64 does not use non-temporal instructions for clear_page(), and arch_clear_pmem() was always incurring the cost of

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Jeff Moyer
Dan Williams writes: > Both, __dax_pmd_fault, and clear_pmem() were taking special steps to > clear memory a page at a time to take advantage of non-temporal > clear_page() implementations. However, x86_64 does not use > non-temporal instructions for clear_page(), and

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-22 Thread Dan Williams
On Thu, Oct 22, 2015 at 1:48 PM, Jeff Moyer wrote: > Dan Williams writes: > >> Both, __dax_pmd_fault, and clear_pmem() were taking special steps to >> clear memory a page at a time to take advantage of non-temporal >> clear_page() implementations.