public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nopage to fault
@ 2008-05-07 17:40 Justin Mattock
  2008-05-07 18:24 ` Jiri Slaby
  0 siblings, 1 reply; 7+ messages in thread
From: Justin Mattock @ 2008-05-07 17:40 UTC (permalink / raw)
  To: Linux Kernel

Hello; I'm trying to compile a module and am a bit confused with what
I should do. The module is using nopage, but since nopage was
converted to fault,
I have no choice but to see if the module will compile with fault. One
of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
anybody has a advice it would be really appreciated.
regards;

-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 17:40 nopage to fault Justin Mattock
@ 2008-05-07 18:24 ` Jiri Slaby
  2008-05-07 19:07   ` Justin Mattock
  0 siblings, 1 reply; 7+ messages in thread
From: Jiri Slaby @ 2008-05-07 18:24 UTC (permalink / raw)
  To: Justin Mattock; +Cc: Linux Kernel

On 05/07/2008 07:40 PM, Justin Mattock wrote:
> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If

The former, next time, google little bit, please.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 18:24 ` Jiri Slaby
@ 2008-05-07 19:07   ` Justin Mattock
  2008-05-07 19:15     ` Jiri Slaby
  0 siblings, 1 reply; 7+ messages in thread
From: Justin Mattock @ 2008-05-07 19:07 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Linux Kernel

On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>
> > of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
> > in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
> >
>
>  The former, next time, google little bit, please.
>

Thanks for the help,
 you mean the former definition which was taken out "NOPAGE_SIGBUS",
or former as in an interface located somewhere in the kernel.
regards;


-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 19:07   ` Justin Mattock
@ 2008-05-07 19:15     ` Jiri Slaby
  2008-05-07 19:20       ` Justin Mattock
  0 siblings, 1 reply; 7+ messages in thread
From: Jiri Slaby @ 2008-05-07 19:15 UTC (permalink / raw)
  To: Justin Mattock; +Cc: Linux Kernel

On 05/07/2008 09:07 PM, Justin Mattock wrote:
> On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>>
>>> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
>>> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
>>>
>>  The former, next time, google little bit, please.
>>
> 
> Thanks for the help,
>  you mean the former definition which was taken out "NOPAGE_SIGBUS",
> or former as in an interface located somewhere in the kernel.
> regards;

The former constant you mentioned. I suppose you are asking what's the 
NOPAGE_SIGBUS opposite in fault handler, right?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 19:15     ` Jiri Slaby
@ 2008-05-07 19:20       ` Justin Mattock
  2008-05-07 19:23         ` Jiri Slaby
  0 siblings, 1 reply; 7+ messages in thread
From: Justin Mattock @ 2008-05-07 19:20 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Linux Kernel

On Wed, May 7, 2008 at 7:15 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 05/07/2008 09:07 PM, Justin Mattock wrote:
>
> > On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> >
> > > On 05/07/2008 07:40 PM, Justin Mattock wrote:
> > >
> > >
> > > > of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
> > > > in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
> > > >
> > > >
> > >  The former, next time, google little bit, please.
> > >
> > >
> >
> > Thanks for the help,
> >  you mean the former definition which was taken out "NOPAGE_SIGBUS",
> > or former as in an interface located somewhere in the kernel.
> > regards;
> >
>
>  The former constant you mentioned. I suppose you are asking what's the
> NOPAGE_SIGBUS opposite in fault handler, right?
>

I think what I'm trying to figure out is what would you put in
NOPAGE_SIGBUS's place since it no longer is in the kernel
Also I wouldn't mind knowing what the opposite fault handler would be as well.
regards;
-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 19:20       ` Justin Mattock
@ 2008-05-07 19:23         ` Jiri Slaby
  2008-05-07 19:39           ` Justin Mattock
  0 siblings, 1 reply; 7+ messages in thread
From: Jiri Slaby @ 2008-05-07 19:23 UTC (permalink / raw)
  To: Justin Mattock; +Cc: Linux Kernel

On 05/07/2008 09:20 PM, Justin Mattock wrote:
> On Wed, May 7, 2008 at 7:15 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>> On 05/07/2008 09:07 PM, Justin Mattock wrote:
>>
>>> On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>>>
>>>> On 05/07/2008 07:40 PM, Justin Mattock wrote:
>>>>
>>>>
>>>>> of the areas that I'm lost with is NOPAGE_SIGBUS for a return value.
>>>>> in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR. If
>>>>>
>>>>>
>>>>  The former, next time, google little bit, please.

>>  The former constant you mentioned.
> 
> I think what I'm trying to figure out is what would you put in
> NOPAGE_SIGBUS's place since it no longer is in the kernel

Well, the former from the 2 you mentioned in the very first post.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nopage to fault
  2008-05-07 19:23         ` Jiri Slaby
@ 2008-05-07 19:39           ` Justin Mattock
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Mattock @ 2008-05-07 19:39 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Linux Kernel

On Wed, May 7, 2008 at 7:23 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 05/07/2008 09:20 PM, Justin Mattock wrote:
>
> > On Wed, May 7, 2008 at 7:15 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> >
> > > On 05/07/2008 09:07 PM, Justin Mattock wrote:
> > >
> > >
> > > > On Wed, May 7, 2008 at 6:24 PM, Jiri Slaby <jirislaby@gmail.com>
> wrote:
> > > >
> > > >
> > > > > On 05/07/2008 07:40 PM, Justin Mattock wrote:
> > > > >
> > > > >
> > > > >
> > > > > > of the areas that I'm lost with is NOPAGE_SIGBUS for a return
> value.
> > > > > > in mm.h The only options I see is VM_FAULT_SIGBUS, VM_FAULT_ERROR.
> If
> > > > > >
> > > > > >
> > > > > >
> > > > >  The former, next time, google little bit, please.
> > > > >
> > > >
> > >
> >
>
>
> >
> >
> > >  The former constant you mentioned.
> > >
> >
> >
> > I think what I'm trying to figure out is what would you put in
> > NOPAGE_SIGBUS's place since it no longer is in the kernel
> >
>
>  Well, the former from the 2 you mentioned in the very first post.
>


I would have to say VM_FAULT_SIGBUS
regards;

-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-07 19:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 17:40 nopage to fault Justin Mattock
2008-05-07 18:24 ` Jiri Slaby
2008-05-07 19:07   ` Justin Mattock
2008-05-07 19:15     ` Jiri Slaby
2008-05-07 19:20       ` Justin Mattock
2008-05-07 19:23         ` Jiri Slaby
2008-05-07 19:39           ` Justin Mattock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox