#NEWLINE# @ classmethod #NEWLINE# def _generate_hugepages_distribution( self , node , serialized_node ) : #NEWLINE# #INDENT# hugepages = objects . NodeAttributes . distribute_hugepages ( node ) #NEWLINE# skip = any ( ( ( skip [ 'size' ] == ( 1024 ** 2 ) ) for x in hugepages ) ) #NEWLINE# if ( hugepages and ( not skip ) ) : #NEWLINE# #INDENT# serialized_node . setdefault ( 'hugepages' , [ ] ) . extend ( hugepages )