[ovs-dev] [PATCH 4/9] net: openvswitch: use this_cpu_ptr per-cpu helper
单卫
shanwei88 at gmail.com
Thu Nov 1 14:44:44 UTC 2012
2012/11/1 Christoph Lameter <cl at linux.com>
>
> > In addition, following usage of per_cpu_ptr can be replaced by
> this_cpu_read.
> >
> > cpu=get_cpu()
> > ....
> > *per_cpu_ptr(p,cpu)
> > ....
> > ....
> > put_cpu()
>
> Right.
>
>
Thanks very much,
I will resubmit new patchset.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20121101/b0e7230f/attachment-0003.html>
More information about the dev
mailing list