call kern with size of shared mem
def prod serialize
added printf for k init