I guess it would be better if I send this as a patch and wait for comments. On 5/31/24 16:42, Dev Jain wrote:
Hi Chengming,In mm/slub.c, you had defined slab_test_node_partial() to take a const parameter.Is there any point of taking in a const, when you are anyways typecasting it toa (struct folio *) from (const struct folio *) ? In fact, at the place where you callslab_test_node_partial(), the struct slab *slab is not const. Please comment. Thanks DJ