title: how to perform data structure alignment with kmalloc?
body: <p>I have been reading <strong>data structure alignment</strong> articles but I'm getting nowhere. Perhaps things are just too complicated for me to understand. I also came across <strong>data structure padding</strong> which is also necessary to align data. How do I add a data structure padding to struct usb_ep? Also how do I make sure that whenever I perform kmalloc the data to be read should be at a memory offset which is some multiple of 4? </p>