Arnaldo Carvalho de Melo writes:
> Em Wed, Aug 26, 2015 at 07:56:47PM +0300, Alexander Shishkin escreveu:
>> So I hacked stuff a bit [1] to accomodate some of the above
>> ideas. The below diff shows how these ideas integrate with perf. The
>> rest is in my github tree.
>>
>> - this exterr
Arnaldo Carvalho de Melo writes:
> Em Wed, Aug 26, 2015 at 07:56:47PM +0300, Alexander Shishkin escreveu:
>> So I hacked stuff a bit [1] to accomodate some of the above
>> ideas. The below diff shows how these ideas integrate with perf. The
>> rest is in my github tree.
>>
>>
* Andrew Morton wrote:
> On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra
> wrote:
>
> > > Is this whole thing overkill? As far as I can see, the problem which is
> > > being addressed only occurs in a couple of places (perf, wifi netlink
> > > handling) and could be addressed with some
* Andrew Morton a...@linux-foundation.org wrote:
On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra pet...@infradead.org
wrote:
Is this whole thing overkill? As far as I can see, the problem which is
being addressed only occurs in a couple of places (perf, wifi netlink
handling)
On Wed, 26 Aug 2015, Andrew Morton wrote:
> On Wed, 26 Aug 2015 16:50:33 -0400 (EDT) Vince Weaver
> wrote:
> > I often have to resort to sprinkling the kernel with printks to find the
> > source of errors, which is a pain. It's even more fun when the user's
> > setup is slightly different
Em Wed, Aug 26, 2015 at 11:41:11AM -0700, Andrew Morton escreveu:
> On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar wrote:
> > * Ingo Molnar wrote:
> >
> > > ... but back then I didn't feel like complicating an error recovery ABI
> > > for the
> > > needs of the 1%, robust error handling is
Em Wed, Aug 26, 2015 at 07:56:47PM +0300, Alexander Shishkin escreveu:
> Ingo Molnar writes:
>
> > * Ingo Molnar wrote:
> >
> >> ... but back then I didn't feel like complicating an error recovery ABI
> >> for the
> >> needs of the 1%, robust error handling is all about simplicity: if it's
>
On Wed, 26 Aug 2015, Andrew Morton wrote:
> On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra
> wrote:
>
> > > Is this whole thing overkill? As far as I can see, the problem which is
> > > being addressed only occurs in a couple of places (perf, wifi netlink
> > > handling) and could be
On Wed, 26 Aug 2015 16:50:33 -0400 (EDT) Vince Weaver wrote:
> On Wed, 26 Aug 2015, Andrew Morton wrote:
>
> > On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra
> > wrote:
> >
> > > > Is this whole thing overkill? As far as I can see, the problem which is
> > > > being addressed only occurs
On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra wrote:
> > Is this whole thing overkill? As far as I can see, the problem which is
> > being addressed only occurs in a couple of places (perf, wifi netlink
> > handling) and could be addressed with some local pr_debug statements. ie,
> >
> >
On Wed, Aug 26, 2015 at 11:41:11AM -0700, Andrew Morton wrote:
> On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar wrote:
>
> >
> > * Ingo Molnar wrote:
> >
> > > ... but back then I didn't feel like complicating an error recovery ABI
> > > for the
> > > needs of the 1%, robust error handling
On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar wrote:
>
> * Ingo Molnar wrote:
>
> > ... but back then I didn't feel like complicating an error recovery ABI for
> > the
> > needs of the 1%, robust error handling is all about simplicity: if it's not
> > simple, tools won't use it.
>
> And
Ingo Molnar writes:
> * Ingo Molnar wrote:
>
>> ... but back then I didn't feel like complicating an error recovery ABI for
>> the
>> needs of the 1%, robust error handling is all about simplicity: if it's not
>> simple, tools won't use it.
>
> And note that it needs to be 'simple' in two
Ingo Molnar writes:
> * Ingo Molnar wrote:
>
>>
>> * Johannes Berg wrote:
>>
>> > On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
>> >
>> > > This time around, I employed a linker trick to convert the structures
>> > > containing extended error information into integers, which
On Wed, 2015-08-26 at 09:20 +0200, Ingo Molnar wrote:
> > That's a good point, and think that least in the netlink case it'd be much
> > better to say which attribute was the one that had an issue, and that has
> > an
> > obvious binary encoding rather than encoding that in a string.
>
> So in
* Ingo Molnar wrote:
> ... but back then I didn't feel like complicating an error recovery ABI for
> the
> needs of the 1%, robust error handling is all about simplicity: if it's not
> simple, tools won't use it.
And note that it needs to be 'simple' in two places for usage to grow
* Johannes Berg wrote:
> On Tue, 2015-08-25 at 22:07 -0700, Linus Torvalds wrote:
>
> > > No, the current MAX_ERRNO is probably not big enough if this scheme is
> > > successful,
> > > and I don't see any reason why it wouldn't be successful: I think this
> > > feature
> > > would be the
On Tue, 2015-08-25 at 22:07 -0700, Linus Torvalds wrote:
> > No, the current MAX_ERRNO is probably not big enough if this scheme is
> > successful,
> > and I don't see any reason why it wouldn't be successful: I think this
> > feature
> > would be the biggest usability feature added to Linux
* Linus Torvalds wrote:
> On Aug 25, 2015 21:49, "Ingo Molnar" wrote:
> >
> > No, the current MAX_ERRNO is probably not big enough if this scheme is
> > successful, and I don't see any reason why it wouldn't be successful: I
> > think
> > this feature would be the biggest usability feature
On Wed, Aug 26, 2015 at 11:41:11AM -0700, Andrew Morton wrote:
On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar mi...@kernel.org wrote:
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI
for the
needs of the 1%, robust
On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar mi...@kernel.org wrote:
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI for
the
needs of the 1%, robust error handling is all about simplicity: if it's not
simple, tools
* Linus Torvalds torva...@linux-foundation.org wrote:
On Aug 25, 2015 21:49, Ingo Molnar mi...@kernel.org wrote:
No, the current MAX_ERRNO is probably not big enough if this scheme is
successful, and I don't see any reason why it wouldn't be successful: I
think
this feature would
On Tue, 2015-08-25 at 22:07 -0700, Linus Torvalds wrote:
No, the current MAX_ERRNO is probably not big enough if this scheme is
successful,
and I don't see any reason why it wouldn't be successful: I think this
feature
would be the biggest usability feature added to Linux system calls
Ingo Molnar mi...@kernel.org writes:
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI for
the
needs of the 1%, robust error handling is all about simplicity: if it's not
simple, tools won't use it.
And note that it needs to
On Wed, 26 Aug 2015 16:50:33 -0400 (EDT) Vince Weaver vi...@deater.net wrote:
On Wed, 26 Aug 2015, Andrew Morton wrote:
On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra pet...@infradead.org
wrote:
Is this whole thing overkill? As far as I can see, the problem which is
being
On Wed, 26 Aug 2015, Andrew Morton wrote:
On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra pet...@infradead.org
wrote:
Is this whole thing overkill? As far as I can see, the problem which is
being addressed only occurs in a couple of places (perf, wifi netlink
handling) and could
Em Wed, Aug 26, 2015 at 11:41:11AM -0700, Andrew Morton escreveu:
On Wed, 26 Aug 2015 09:26:56 +0200 Ingo Molnar mi...@kernel.org wrote:
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI
for the
needs of the 1%, robust
Em Wed, Aug 26, 2015 at 07:56:47PM +0300, Alexander Shishkin escreveu:
Ingo Molnar mi...@kernel.org writes:
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI
for the
needs of the 1%, robust error handling is all about
On Wed, 26 Aug 2015, Andrew Morton wrote:
On Wed, 26 Aug 2015 16:50:33 -0400 (EDT) Vince Weaver vi...@deater.net
wrote:
I often have to resort to sprinkling the kernel with printks to find the
source of errors, which is a pain. It's even more fun when the user's
setup is slightly
* Ingo Molnar mi...@kernel.org wrote:
... but back then I didn't feel like complicating an error recovery ABI for
the
needs of the 1%, robust error handling is all about simplicity: if it's not
simple, tools won't use it.
And note that it needs to be 'simple' in two places for usage to
* Johannes Berg johan...@sipsolutions.net wrote:
On Tue, 2015-08-25 at 22:07 -0700, Linus Torvalds wrote:
No, the current MAX_ERRNO is probably not big enough if this scheme is
successful,
and I don't see any reason why it wouldn't be successful: I think this
feature
would be
On Wed, 2015-08-26 at 09:20 +0200, Ingo Molnar wrote:
That's a good point, and think that least in the netlink case it'd be much
better to say which attribute was the one that had an issue, and that has
an
obvious binary encoding rather than encoding that in a string.
So in older
Ingo Molnar mi...@kernel.org writes:
* Ingo Molnar mi...@kernel.org wrote:
* Johannes Berg johan...@sipsolutions.net wrote:
On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
This time around, I employed a linker trick to convert the structures
containing extended
On Wed, 26 Aug 2015 22:05:13 +0200 Peter Zijlstra pet...@infradead.org wrote:
Is this whole thing overkill? As far as I can see, the problem which is
being addressed only occurs in a couple of places (perf, wifi netlink
handling) and could be addressed with some local pr_debug statements.
* Johannes Berg wrote:
> On Tue, 2015-08-25 at 12:07 +0200, Ingo Molnar wrote:
> > Having a separate syscall has two (big!) appeals:
> >
> > - we wouldn't have to touch existing system calls at all.
> >
> > - extended error reporting would be available for any system call that
> > opts to
On Tue, 2015-08-25 at 12:07 +0200, Ingo Molnar wrote:
> Having a separate syscall has two (big!) appeals:
>
> - we wouldn't have to touch existing system calls at all.
>
> - extended error reporting would be available for any system call that opts
> to
>use it. (The current scheme as
* Johannes Berg wrote:
> On Tue, 2015-08-25 at 11:17 +0200, Ingo Molnar wrote:
> >
> > If we do that then we don't even have to introduce per system call error
> > code
> > conversion, but could unconditionally save the last extended error info in
> > the
> > task struct and continue -
On Tue, 2015-08-25 at 11:17 +0200, Ingo Molnar wrote:
>
> If we do that then we don't even have to introduce per system call error code
> conversion, but could unconditionally save the last extended error info in
> the
> task struct and continue - this could be done very cheaply with the
* Ingo Molnar wrote:
>
> * Johannes Berg wrote:
>
> > On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
> >
> > > This time around, I employed a linker trick to convert the structures
> > > containing extended error information into integers, which are then made
> > > to
> > >
* Johannes Berg wrote:
> On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
>
> > This time around, I employed a linker trick to convert the structures
> > containing extended error information into integers, which are then
> > made to look just like normal error codes so that
On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
> This time around, I employed a linker trick to convert the structures
> containing extended error information into integers, which are then
> made to look just like normal error codes so that IS_ERR_VALUE() and
> friends would still
* Alexander Shishkin wrote:
> Hi Peter and Ingo and everybody,
>
> Here's an update of my extended error reporting patchset, addressing
> review comments and adding a few more error messages to PT and BTS
> drivers.
>
> Changes since v1:
> * addressed Peter's comments,
> * added
* Johannes Berg johan...@sipsolutions.net wrote:
On Tue, 2015-08-25 at 12:07 +0200, Ingo Molnar wrote:
Having a separate syscall has two (big!) appeals:
- we wouldn't have to touch existing system calls at all.
- extended error reporting would be available for any system call that
* Johannes Berg johan...@sipsolutions.net wrote:
On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
This time around, I employed a linker trick to convert the structures
containing extended error information into integers, which are then
made to look just like normal error
* Alexander Shishkin alexander.shish...@linux.intel.com wrote:
Hi Peter and Ingo and everybody,
Here's an update of my extended error reporting patchset, addressing
review comments and adding a few more error messages to PT and BTS
drivers.
Changes since v1:
* addressed Peter's
On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
This time around, I employed a linker trick to convert the structures
containing extended error information into integers, which are then
made to look just like normal error codes so that IS_ERR_VALUE() and
friends would still work
On Tue, 2015-08-25 at 12:07 +0200, Ingo Molnar wrote:
Having a separate syscall has two (big!) appeals:
- we wouldn't have to touch existing system calls at all.
- extended error reporting would be available for any system call that opts
to
use it. (The current scheme as submitted
On Tue, 2015-08-25 at 11:17 +0200, Ingo Molnar wrote:
If we do that then we don't even have to introduce per system call error code
conversion, but could unconditionally save the last extended error info in
the
task struct and continue - this could be done very cheaply with the linker
* Johannes Berg johan...@sipsolutions.net wrote:
On Tue, 2015-08-25 at 11:17 +0200, Ingo Molnar wrote:
If we do that then we don't even have to introduce per system call error
code
conversion, but could unconditionally save the last extended error info in
the
task struct and
* Ingo Molnar mi...@kernel.org wrote:
* Johannes Berg johan...@sipsolutions.net wrote:
On Mon, 2015-08-24 at 17:32 +0300, Alexander Shishkin wrote:
This time around, I employed a linker trick to convert the structures
containing extended error information into integers, which
Hi Peter and Ingo and everybody,
Here's an update of my extended error reporting patchset, addressing
review comments and adding a few more error messages to PT and BTS
drivers.
Changes since v1:
* addressed Peter's comments,
* added perf_err() annotation to intel_pt and intel_bts drivers;
Hi Peter and Ingo and everybody,
Here's an update of my extended error reporting patchset, addressing
review comments and adding a few more error messages to PT and BTS
drivers.
Changes since v1:
* addressed Peter's comments,
* added perf_err() annotation to intel_pt and intel_bts drivers;
52 matches
Mail list logo