All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Dmitry Torokhov <dtor@mail.ru>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	linux-input@vger.kernel.org,
	David Herrmann <dh.herrmann@gmail.com>
Subject: Re: 3.17-rc5: kernel oops when exiting X under heavy load
Date: Mon, 6 Oct 2014 22:45:26 +0200	[thread overview]
Message-ID: <20141006204526.GA28905@amd> (raw)
In-Reply-To: <20141006181202.GA22781@dtor-ws>

Hi!

> > From the backtrace, it looks evdev related...?
> 
> Hmm, looks like it...

I don't think I can repeat that. I was doing crazy stuff at that
moment. (Typo fixes suggested below).

Thanks,
								Pavel

Input: evdev - fix EVIOCG{type} ioctl

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>

The 'max' size passed into the function is measured in number of bits
(KEY_MAX, LED_MAX, etc) so we nedd to convert it accoidingly before tyring

###                           need               accordingly(?)     trying

to copy the data out, otherwise we will try copying too much and end up
with up with a page fault.

Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2014-10-06 20:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03 23:11 3.17-rc5: kernel oops when exiting X under heavy load Pavel Machek
2014-10-06 18:12 ` Dmitry Torokhov
2014-10-06 20:45   ` Pavel Machek [this message]
2014-10-06 21:03     ` Dmitry Torokhov
2014-10-06 21:14       ` Pavel Machek
2014-10-06 21:31         ` Dmitry Torokhov
2014-10-06 22:47           ` Pavel Machek
2014-10-07 16:16   ` David Herrmann

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=20141006204526.GA28905@amd \
    --to=pavel@ucw.cz \
    --cc=dh.herrmann@gmail.com \
    --cc=dtor@mail.ru \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.