Thread (90 messages) 90 messages, 5 authors, 2020-09-24

Re: [PATCH v2 22/37] arm64: mte: Add in-kernel MTE helpers

From: Vincenzo Frascino <vincenzo.frascino@arm.com>
Date: 2020-09-22 10:13:41
Also in: linux-mm, lkml


On 9/18/20 10:36 AM, Catalin Marinas wrote:
quoted
Same as above but I will use the orr in the next version.
I wonder whether system_supports_mte() makes more sense here than the
alternative:

	if (!system_supports_mte())
		return 0xff;

	... mte irg stuff ...

(you could do the same for the mte_get_mem_tag() function)
This would have been my preference from the beginning but then you mentioned
alternatives ;)

Anyway, more then happy to change the code in this way, seems more clean and
easy to understand.

-- 
Regards,
Vincenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help