)]}' { "commit": "b1b9891441fa33fd0d49b5cb3aa7f04bca1cc1db", "tree": "50101517ccd4202654ac1146e6d2d2d9e3c9668f", "parents": [ "5d01410fe4d92081f349b013a2e7a95429e4f2c9" ], "author": { "name": "Suman Anna", "email": "s-anna@ti.com", "time": "Tue Sep 16 13:33:07 2014 -0500" }, "committer": { "name": "Ohad Ben-Cohen", "email": "ohad@wizery.com", "time": "Wed Nov 26 18:24:36 2014 +0200" }, "message": "rpmsg: use less buffers when vrings are small\n\nAdjust the number of rpmsg buffers to rely on the size of the\nvring, instead of using the hard coded value of 512 (256 per\ndirection).\n\nThis is needed when small vrings are being used, where 256\nbuffers are too much to fit in a vring.\n\nWhile considering the vring size, keep using the 512 hard coded\nvalue as an upper limit to avoid wacky resource tables consuming\nunreasonable amount of memory.\n\nNOTE: The number of buffers is already assumed to be symmetrical\nin each direction, and that logic is unchanged.\n\nSigned-off-by: Suman Anna \u003cs-anna@ti.com\u003e\n[edit commit message, small code and comment simplification]\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "b6135d4d54eb8f6c99dc677c988cc6a95fc2bda7", "old_mode": 33188, "old_path": "drivers/rpmsg/virtio_rpmsg_bus.c", "new_id": "92f6af6da6991f0f15400b07572b4338458ff8ca", "new_mode": 33188, "new_path": "drivers/rpmsg/virtio_rpmsg_bus.c" } ] }