Should L1s know the size of an L2’s cache?

Could an attack vector be that people join and contribute 1 byte.

An L1 will need to rate its L2s and choose which ones to use.