All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linda <lindaj@jma3.com>
To: xen-devel@lists.xen.org, Wei Liu <wei.liu2@citrix.com>,
	Julien Grall <julien.grall@citrix.com>,
	Lars Kurth <lars.kurth.xen@gmail.com>
Subject: coding standards
Date: Mon, 30 Mar 2015 12:29:41 -0600	[thread overview]
Message-ID: <55199615.1020000@jma3.com> (raw)

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

             reply	other threads:[~2015-03-30 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 18:29 Linda [this message]
2015-03-30 18:52 ` coding standards 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
  -- strict thread matches above, loose matches on Subject: below --
2006-03-02 22:45 Coding Standards Marc-André Laverdière
2006-03-03 17:22 ` Hans Reiser
2006-03-03 21:11   ` Giovanni A. Orlando

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55199615.1020000@jma3.com \
    --to=lindaj@jma3.com \
    --cc=julien.grall@citrix.com \
    --cc=lars.kurth.xen@gmail.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.