RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
TECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: vmalloc on 2.4.x on ia64 > > > > I am calling during initialization only from detect() entry point. > > But I guess, before the detect() is called, scsi layer acquires > > the io_request_lock. So, you me

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Alan Cox
> I am calling during initialization only from detect() entry point. > But I guess, before the detect() is called, scsi layer acquires > the io_request_lock. So, you mean to say that I need to release it That depends if your driver is doing old or new style initialization > before calling vmallo

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Andi Kleen
On Wed, Apr 04, 2001 at 06:11:32PM -0600, [EMAIL PROTECTED] wrote: > I am calling during initialization only from detect() entry point. > But I guess, before the detect() is called, scsi layer acquires > the io_request_lock. So, you mean to say that I need to release it > before calling vmalloc()

RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 5:03 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: vmalloc on 2.4.x on ia64 > > > > Can we call vmalloc() or get_free_pages() from scsi > low-level driver > > (HBA

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Alan Cox
> Can we call vmalloc() or get_free_pages() from scsi low-level driver > (HBA driver) ? The reason why I am asking is because, I am calling It depends where. You can call it during initialisation if you arent holding the io_request_lock for example. - To unsubscribe from this list: send the lin

RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
2, 2001 6:30 PM > To: [EMAIL PROTECTED] > Subject: RE: vmalloc on 2.4.x on ia64 > > > > That is what I said. I am using vmalloc only. But the call to > > vmalloc is hanging. > > Oops, my mistake. a) that shouldn't happen. b) if it does, try > get_free_pages(

RE: vmalloc on 2.4.x on ia64

2001-04-02 Thread hiren_mehta
That is what I said. I am using vmalloc only. But the call to vmalloc is hanging. -hiren > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 6:26 PM > To: [EMAIL PROTECTED] > Subject: RE: vmalloc on 2.4.x on ia64 >

vmalloc on 2.4.x on ia64

2001-04-02 Thread MEHTA,HIREN (A-SanJose,ex1)
Greetings. Is vmalloc() interface broken on any of 2.4.x kernel on ia64 ? I am trying to call vmalloc from the driver to allocate about 130kb of memory and it hangs the system. I am running 2.4.1 kernel with ia64 patch (I can find out the exact patch if needed) on LION. Let me know if more inform