All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@citrix.com>
To: Lasya Venneti <comethalley61@gmail.com>, xen-devel@lists.xen.org
Cc: George Dunlap <george.dunlap@eu.citrix.com>
Subject: Re: Task for OPW
Date: Thu, 22 Oct 2015 12:37:40 +0100	[thread overview]
Message-ID: <5628CA84.2010901@citrix.com> (raw)
In-Reply-To: <CAAbK428w8fuXDwXc9txykSVse45BU9g_v+xRDR6_RJSU=cdjWQ@mail.gmail.com>

On 22/10/15 12:29, Lasya Venneti wrote:
> Hello :-)
> 
> Could you please give me a small task I can complete for Outreachy/OPW,
> before the deadline?

In xen/common/sched_credit.c there's a function named __runq_insert()
which takes two arguments: cpu and svc.

However, the cpu argument is redundant: you can get all the information
you need from svc.

Submit a (tested) patch which removes cpu as an argument to the function
but has the same functionality.

You can find a lot of practical advice about how to send patches with
git here:

http://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches

I generally recommend using stg to actually manage your patch series:

http://wiki.xenproject.org/wiki/Submitting_Xen_Patches_with_StGit

But be sure to read the first one as well, as it contains lots of extra
information about what makes a good patch, the Signed-off-by: line, and
so on.

Thanks,
 -George

      reply	other threads:[~2015-10-22 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 11:29 Task for OPW Lasya Venneti
2015-10-22 11:37 ` George Dunlap [this message]

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=5628CA84.2010901@citrix.com \
    --to=george.dunlap@citrix.com \
    --cc=comethalley61@gmail.com \
    --cc=george.dunlap@eu.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.