OpenVZ Forum


Home » Mailing lists » Devel » [SCSI] 3w-9xxx: kmap_atomic in twa_scsiop_execute_scsi
Re: [SCSI] 3w-9xxx: kmap_atomic in twa_scsiop_execute_scsi [message #3600 is a reply to message #3558] Tue, 06 June 2006 19:25 Go to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Adam,

adam radford wrote:
> Vasily,
>
> On 6/5/06, Vasily Averin <vvs@sw.ru> wrote:
>
>> I'm agree that queuecommand() executed with disabled interrupts. However
>> twa_scsiop_execute_scsi() can be called not only from queuecommand.
>> For example,
>>
>> twa_interrupts (note: with _enabled_ interrupts)
>> twa_aen_read_queue
>> twa_scsiop_execute_scsi
>>
>
> twa_scsiop_execute_scsi() will not perform the
> kmap_atomic()/kunmap_atomic()
> calls here because it is being used for an internal AEN drain (cdb
> post), i.e. "sglistarg" is non NULL. See below:
>
> if (!sglistarg) {
>
> ....
> kmap_atomc()
> kunmap_atomic()
>
> } else {
> /* Internal cdb post */
>
> }

Ok, I'm agree.

Thank you for your explanation,
Vasily Averin

SWsoft Virtuozzo/OpenVZ Linux kernel team
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UnionFS bug
Next Topic: Re: [Announce] New vzctl and devel kernel releases; OpenVZ wiki
Goto Forum:
  


Current Time: Fri Oct 18 06:25:43 GMT 2024

Total time taken to generate the page: 0.05415 seconds