Re: list_move

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2/27/08, shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:


On 2/27/08, shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:


On 2/26/08, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
The answer is YES...
 
Actually other existing function that are calling list_move , doesnt aquire LRU spin lock.
 
sorry ...they are using
 
which lock , should i use
 1) spin_lock
 2)spin_lock_irq

On Fri, Feb 22, 2008 at 7:40 PM, shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:
> Hi,
>  I am inserting some code in linux kernel 2.6.23. In that i am using
> 'list_move'  function to delete page from one list and add to another list .
> Here I am mainly using this function to delete page from inactive list and
> add it to head of the same list that is inactive list.
> My question is that, is it necessary to acquire LRU SPIN LOCK, while calling
> this function?
>
> Thanks
>
> --
> Shyam
>   "Born To Learn"



--
Peter Teoh
HP: 96809281



--
Shyam
  "Born To Learn"



--
Shyam
  "Born To Learn"



--
Shyam
  "Born To Learn"

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux