Skip to content

Commit

Permalink
usb_session: increase default ram quota
Browse files Browse the repository at this point in the history
The new usb_host driver for PC by default needs more RAM quota in contrast
to the old one. To minor warnings and repeated attempts to open a USB
session from a client, this commit increases the default RAM quota by one
page.

Ref genodelabs#4416
  • Loading branch information
skalk committed Feb 17, 2022
1 parent 2eddad9 commit c367d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/os/include/usb_session/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct Usb::Connection : Genode::Connection<Session>, Session_client
Genode::Connection<Session>(env,
session(env.parent(),
"ram_quota=%ld, cap_quota=%ld, tx_buf_size=%ld, label=\"%s\"",
3 * 4096 + tx_buf_size, CAP_QUOTA, tx_buf_size, label)),
4 * 4096 + tx_buf_size, CAP_QUOTA, tx_buf_size, label)),
Session_client(cap(), *tx_block_alloc, env.rm(), sigh_state_changed)
{ }
};
Expand Down

0 comments on commit c367d89

Please sign in to comment.