>My point is that there is no need to show the smaller page sizes to >userland, only the max one is relevant and this isn't going to change >and I'm uncomfortable to add plural stuff to a patch that doesn't >contemplate mixes page sizes and for the time being multiple hpage size >isn't even on the horizon... I hate APIs...
I don't care enough to continue arguing about the utility of multiple page sizes :-) > What if we defer this whole issue and we just align on 2M if > /sys/kernel/mm/transparent_hugepage exists without checking /sys? ;) Doesn't non-PAE (i.e. most 32-bit x86) use 4M huge pages? There's still a good number of those knocking about. Paul