Re: binder: limits for size of data transaction

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

 



2012/4/24 Vladimir Murzin <murzin.v@xxxxxxxxx>:
> Hello everyone,
>
> I've noticed data_size and offset_size members of
> binder_transaction_data struct (drivers/staging/android/binder.h):
>
> struct binder_transaction_data {
> ...
>  size_t          data_size;      /* number of bytes of data */
>  size_t          offsets_size;   /* number of bytes of offsets */
> ...
> }
>
> I wonder if there are any limitations for size of data and size of
> offset?
>

Yes, it has to fit in the mmaped area of the receiving process (max
4MB). Look at binder_alloc_buf for details.

-- 
Arve Hjønnevåg
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux