From: "Jan Beulich" Subject: ns16550.c's poll_port variable Date: Fri, 04 May 2012 09:18:03 +0100 Message-ID: <4FA3ACDB0200007800081847@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Hi Keir, does this really need to be a per-CPU variable? Can't a timer run only once at a time on the entire system (the more that it gets re-armed only at the end of the poll function, whereas the variable is consumed at the start), and hence the variable can be a simple one? Or else, what subtlety am I overlooking? Thanks, Jan