Displaying 1 result from an estimated 1 matches for "thp_prep_device_private_pag".
Did you mean:
thp_prep_device_private_page
2020 Nov 06
1
[PATCH v3 1/6] mm/thp: add prep_transhuge_device_private_page()
On Thu, Nov 05, 2020 at 04:51:42PM -0800, Ralph Campbell wrote:
> Add a helper function to allow device drivers to create device private
> transparent huge pages. This is intended to help support device private
> THP migrations.
I think you'd be better off with these calling conventions:
-void prep_transhuge_page(struct page *page)
+struct page *thp_prep(struct page *page)
{
+