Thread (8 messages) flat view 8 messages, 3 authors, 2021-01-27

Re: [dpdk-dev] [PATCH v2] mem: improve parameter checking on memory hotplug

From: Burakov, Anatoly <hidden>
Date: 2021-01-21 10:52:24

On 19-Jan-21 11:39 PM, Thomas Monjalon wrote:
18/01/2021 16:41, Anatoly Burakov:
quoted
+	/* now that we've validated the request, time for a PSA */
What is PSA?
Public Service Announcement :)
quoted
+	eal_memalloc_mem_event_notify(RTE_MEM_EVENT_FREE,
+			m->free_req.addr, m->free_req.len);
[...]
quoted
+	/* this is checked by the API, but we need to prevent divide by zero */
+	if (ar->page_sz == 0 || !rte_is_power_of_2(ar->page_sz)) {
+		RTE_LOG(ERR, EAL, "Attempting to allocate with page size\n");
Is there a missing part in the log message?
Seems like it. I'll resubmit.

-- 
Thanks,
Anatoly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help