Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VERIFYME] init: Limit MTP rx/tx buffers to 16384 #184

Merged
merged 1 commit into from Nov 6, 2019

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 issue 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 Sep 14, 2019
@jerpelea jerpelea merged commit ec18d47 into sonyxperiadev:master Nov 6, 2019
@ix5 ix5 deleted the mtp-usb branch Nov 6, 2019
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.

None yet

2 participants