Skip to content

Conversation

@ix5
Copy link
Contributor

@ix5 ix5 commented Sep 7, 2019

Limit MTP_RX_BUFFER_INIT_SIZE and MTP_TX_BUFFER_INIT_SIZE from 1048576 to 16384

Should fix swiotlb running OOM with large file transfers.

See sonyxperiadev/bug_tracker#432 (comment)

Needs accompanying sepolicy.

Limit MTP_RX_BUFFER_INIT_SIZE and MTP_TX_BUFFER_INIT_SIZE
from 1048576 to 16384

Should fix swiotlb running OOM with large file transfers.

See sonyxperiadev/bug_tracker#432 (comment)

Needs accompanying sepolicy.
ix5 added a commit to ix5/device-sony-sepolicy that referenced this pull request Sep 7, 2019
@ix5 ix5 changed the title [WIP] [VERIFYME] init: Limit MTP rx/tx buffers to 16384 [VERIFYME] init: Limit MTP rx/tx buffers to 16384 Sep 11, 2019
@ix5 ix5 marked this pull request as ready for review September 14, 2019 19:04
@jerpelea jerpelea merged commit ec18d47 into sonyxperiadev:master Nov 6, 2019
@ix5 ix5 deleted the mtp-usb branch November 6, 2019 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants