All of lore.kernel.org
 help / color / mirror / Atom feed
* coding standards
@ 2015-03-30 18:29 Linda
  2015-03-30 18:52 ` Wei Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Linda @ 2015-03-30 18:29 UTC (permalink / raw)
  To: xen-devel, Wei Liu, Julien Grall, Lars Kurth

Hi Wei,
     I have a few questions before we chat Tuesday.  Per your 
instructions, I read the coding standards, which referred me to libxl.h 
for memory management.  They are contradictory, in that the coding 
standards imply that I should be using internal libxl_*alloc functions, 
but the memory management section says to do a malloc. I thought someone 
should know.
     I assume I should look for and use the appropriate libxl_*alloc 
function.
     Also, you mentioned that all libxl functions should take a ctx 
(context?) as the first argument.  I had looked at several libxl_bitmap* 
functions (init, test, set, and dispose) which don't, but looking at the 
alloc code you sent me, I'm not clear on the purpose of the ctx.  
Perhaps we can go over that in our chat.

Thanks.

Linda

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-02 13:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 18:29 coding standards Linda
2015-03-30 18:52 ` Wei Liu
2015-03-30 19:26   ` Linda Jacobson
2015-04-02 13:15     ` Lars Kurth
2015-04-02 13:47       ` Xen Outreachy application Linda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.