From: Avi Kivity <avi@redhat.com>
To: andre@bsrsoft.com.br
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] virt: ack_flush() function removed for lack of apparent use 2.6.37-rc1
Date: Tue, 09 Nov 2010 16:32:51 +0200 [thread overview]
Message-ID: <4CD95B93.70607@redhat.com> (raw)
In-Reply-To: <516164.25539.qm@web110514.mail.gq1.yahoo.com>
On 11/06/2010 07:01 AM, André Luis Pereira dos Santos - BSRSoft wrote:
> Hello
>
> Ack_flush function () is not used anywhere in the code and apparently has no function currently defined.
>
> Unless there are plans to use it in the future, I took it out via this patch code for readability.
>
>
>
> Signed-off-by: Andre Luis Pereira dos Santos<andre@bsrsoft.com.br>
> ---
> Signed-off-by: Andre Luis Pereira dos Santos<andre@bsrsoft.com.br>
> --- linux-2.6.37-rc1/virt/kvm/kvm_main.c 2010-11-01 09:54:12.000000000 -0200
> +++ linux-2.6.37-rc1-patched/virt/kvm/kvm_main.c 2010-11-06 02:43:56.000000000 -0200
> @@ -132,9 +132,6 @@ void vcpu_put(struct kvm_vcpu *vcpu)
> mutex_unlock(&vcpu->mutex);
> }
>
> -static void ack_flush(void *_completed)
> -{
> -}
>
It is in use:
> upstream:virt/kvm/kvm_main.c:static void ack_flush(void *_completed)
> upstream:virt/kvm/kvm_main.c:
> smp_call_function_many(cpu_online_mask, ack_flush, NULL, 1);
> upstream:virt/kvm/kvm_main.c: smp_call_function_many(cpus,
> ack_flush, NULL, 1);
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2010-11-09 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-06 5:01 [PATCH 1/1] virt: ack_flush() function removed for lack of apparent use 2.6.37-rc1 André Luis Pereira dos Santos - BSRSoft
2010-11-09 14:32 ` Avi Kivity [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=4CD95B93.70607@redhat.com \
--to=avi@redhat.com \
--cc=andre@bsrsoft.com.br \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox