IBM lays off 3,900, joining an already long list of tech companies slashing jobs as the economy cools