PMEM access in kernel space

40 views
Skip to first unread message

Sumit Dighe

unread,
May 18, 2018, 10:51:19 PM5/18/18
to pmem
Hi,
I want to understand how can the pmem API's/instructions be accessed in a kernel module?
Any sample program/code block would help too.

Thanks,
Sumit

Sumit Dighe

unread,
May 18, 2018, 10:52:19 PM5/18/18
to pmem
I am looking for Linux kernel API

Jeff Moyer

unread,
May 21, 2018, 2:34:26 PM5/21/18
to Sumit Dighe, pmem
Hi, Sumit,

Sumit Dighe <srdi...@gmail.com> writes:

> I am looking for Linux kernel API

Have a look at the dm-writecache target:

https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/tree/drivers/md/dm-writecache.c?h=dm-4.18

Cheers,
Jeff
Reply all
Reply to author
Forward
0 new messages