...G...... [ZBX-5970] backported windows swap calculation from trunk without pfree parameter