Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1304991

Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size

From Aniroop Mathur <aniroop.mathur@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size
Date 2016-01-08 21:30 +0100
Message-ID <qOLPA-3s7-25@gated-at.bofh.it> (permalink)
References <qOH9g-8Y-9@gated-at.bofh.it> <qOH9g-8Y-7@gated-at.bofh.it> <qOLmy-32e-15@gated-at.bofh.it> <qOLFU-3oB-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Jan 9, 2016 at 1:43 AM, One Thousand Gnomes
<gnomes@lxorguk.ukuu.org.uk> wrote:
>> During system boot up, user space buf size is fixed, it cannot be
>> resized later and we cannot choose by hit&trial.
>> struct input_event* mBuffer = new input_event[mBuf];
>
> Who says that won't change ? Imagine a future case where plugging in a
> device changes the buffer size ?
>

Ofcourse buffer size can be changed but it will also change the value of bufsize
variable and accordingly user space client should also change its buf size.

> Alan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size David Herrmann <dh.herrmann@gmail.com> - 2016-01-08 16:30 +0100
  Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-08 21:00 +0100
    Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get  buffer size One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-08 21:20 +0100
      Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-08 21:30 +0100
        Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get  buffer size One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-08 21:40 +0100
          Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-08 22:00 +0100
            Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-01-08 22:10 +0100
              Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-08 23:20 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer  size Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-01-08 23:30 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-08 23:50 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-09 17:30 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer  size Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-01-09 20:00 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-10 00:10 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer  size Peter Hutterer <peter.hutterer@who-t.net> - 2016-01-10 23:50 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-11 19:20 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer  size Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-01-12 00:50 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer size Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-12 08:20 +0100
                Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get buffer  size Peter Hutterer <peter.hutterer@who-t.net> - 2016-01-12 01:30 +0100

csiph-web