From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [patch 3/4] timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks Date: Wed, 2 Jul 2014 21:04:16 +0400 Message-ID: <20140702170416.GG12440@moon> References: <20140623185431.396309193@openvz.org> <20140623190345.499956567@openvz.org> <20140624220351.GZ2095@moon> <53B4382F.9030908@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <53B4382F.9030908-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Christopher Covington Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Kerrisk , Thomas Gleixner , Andrew Morton , Andrey Vagin , Pavel Emelyanov , Vladimir Davydov , Linux ARM kernel mailing list List-Id: linux-api@vger.kernel.org On Wed, Jul 02, 2014 at 12:49:51PM -0400, Christopher Covington wrote: > > > > +#ifdef CONFIG_CHECKPOINT_RESTORE > > +static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) > > +{ > > + struct timerfd_ctx *ctx = file->private_data; > > + int ret = 0; > > + > > + switch (cmd) { > > + case TFD_IOC_SET_TICKS: { > > + u64 ticks; > > + > > + if (get_user(ticks, (u64 __user *)arg)) > > 64-bit get_user is currently unsupported on ARM, although it appears work is > ongoing [1]. > > 1. https://lkml.org/lkml/2014/6/17/260 Thanks for info, Christopher! What arm camp is using then, copy-from-user?