Matthew Wilcox writes:
I don't think that works. I think you meant to write ~(SHMEM_INO_BATCH - 1). Or just ino % SHMEM_INO_BATCH which works even for non-power-of-two.
Er, right. I now wonder why I didn't just write `ino % SHMEM_INO_BATCH` :-) I'll send again with that fix.