Re: Why Semaphore Hardware-Dependent?

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

 



Ahh, my mistake :)

Nick Piggin wrote:

It is actually larger here.

   text    data     bss     dec     hex filename
    970       0       0     970     3ca lib/rwsem-spinlock.o
    576       0       0     576     240 kernel/spinlock.o
                                           ^^ should be:
       35       0       0      35      23 kernel/rwsem.o

  =1546

   text    data     bss     dec     hex filename
   1310       0       0    1310     51e lib/rwsem.o
    193       0       0     193      c1 kernel/rwsem.o
  =1503

Well, it is still larger than the atomic_inc_return variant
after my patch.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux