Re: binder: limits for size of data transaction

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

 



On Tue, Apr 24, 2012 at 08:55:38PM -0700, Arve Hjønnevåg wrote:
> 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

Arve

Thanks for short and clear answer.

Best wishes
Vladimir Murzin
_______________________________________________
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